sh.zio.update-rootfs: fix incorrect git logic
parent
b22a8c6397
commit
14c8530f7e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue