mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update UPDATE.sh
This commit is contained in:
parent
bbd0ea86e1
commit
34e62e4255
@ -394,12 +394,15 @@ download_new_admin() {
|
||||
mkdir -p $OPENADMIN_DIR
|
||||
echo "Updating OpenAdmin from https://github.com/stefanpejcic/openadmin"
|
||||
echo ""
|
||||
cd /usr/local/admin/
|
||||
cd $OPENADMIN_DIR
|
||||
#stash is used for demo
|
||||
git stash
|
||||
git pull
|
||||
git stash pop
|
||||
|
||||
# need for csf
|
||||
chmod +x ${OPENADMIN_DIR}modules/security/csf.pl
|
||||
|
||||
service admin restart
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user