Update UPDATE.sh

This commit is contained in:
Stefan Pejcic
2024-10-16 16:19:35 +02:00
committed by GitHub
parent aac59705ab
commit bc4b26b6fe

View File

@@ -245,9 +245,8 @@ download_new_admin() {
echo "Updating OpenAdmin from https://github.com/stefanpejcic/openadmin"
echo ""
cd $OPENADMIN_DIR
#git stash
git reset --hard HEAD # discard all local changes!
git pull
#git stash pop
# needed for csf
chmod +x ${OPENADMIN_DIR}modules/security/csf.pl