rootfs/opt/git-sync/git-sync.sh aktualisiert
This commit is contained in:
@@ -11,7 +11,10 @@ fi
|
||||
|
||||
# Aktualisieren
|
||||
cd "$REPO" || exit 1
|
||||
git stash push -m "auto-sync"
|
||||
git pull --rebase
|
||||
git stash pop
|
||||
|
||||
|
||||
# Dateien verteilen (rootfs → /)
|
||||
sudo rsync -a rootfs/ "$TARGET"
|
||||
|
||||
Reference in New Issue
Block a user