mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
parent
77630ec909
commit
17be4d7b98
@ -6,7 +6,7 @@ if ((CACHED)); then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z "$(ls --almost-all "pkg/$DISTRIBTION")" ]; then
|
||||
if [ -z "$(ls --almost-all "pkg/$DISTRIBUTION")" ]; then
|
||||
git clone "$PKG_URL" --branch "$PKG_BRANCH" "pkg/$DISTRIBUTION"
|
||||
elif [ -d "pkg/$DISTRIBUTION/.git" ] && [ "$(git -C "pkg/$DISTRIBUTION" rev-parse --abbrev-ref HEAD)" = "$PKG_BRANCH" ]; then
|
||||
git -C "pkg/$DISTRIBUTION" pull
|
||||
|
Loading…
Reference in New Issue
Block a user