2
0
Fork 0

sh.zio.update-rootfs: fix incorrect git logic

main
Ducky 2023-08-15 17:03:03 +01:00
parent b22a8c6397
commit 14c8530f7e
1 changed files with 2 additions and 1 deletions

View File

@ -9,11 +9,12 @@ fi
# TODO: Check if we're actually using the rootfs git
test_root
test_prog "git"
orig_dir="$(pwd)"
cd /
git fetch --all
git reset --hard origin main
git pull
cd $orig_dir