Some bug fixes

This commit is contained in:
remittor
2023-08-12 16:34:10 +03:00
parent 00b7b0e52f
commit 90be15b96a
2 changed files with 4 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ if [ "$OPT_FULL_UPDATE" = "true" ]; then
fi
git reset --hard HEAD
#git revert HEAD~30..HEAD
#git reset --hard HEAD
git fetch
[ "$?" != "0" ] && die "Can't fetch current repository"
@@ -83,6 +85,7 @@ if [ "$OPT_FULL_UPDATE" = "true" ]; then
fi
if [ -f "$XDIR/luci_dispatcher.sh" ]; then
chmod 755 ./luci_dispatcher.sh
./luci_dispatcher.sh
fi