mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
committed by
Daan De Meyer
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
|
||||
|
||||
Reference in New Issue
Block a user