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
e9bc1d058a
commit
249eda5e5b
@ -438,10 +438,9 @@ update_config_files() {
|
|||||||
echo "Downloading latest OpenPanel configuration from https://github.com/stefanpejcic/openpanel-configuration"
|
echo "Downloading latest OpenPanel configuration from https://github.com/stefanpejcic/openpanel-configuration"
|
||||||
echo ""
|
echo ""
|
||||||
cd /etc/openpanel/
|
cd /etc/openpanel/
|
||||||
git stash
|
git fetch origin
|
||||||
git pull
|
git checkout origin/main -- .
|
||||||
git stash pop
|
git add .
|
||||||
|
|
||||||
cp /etc/openpanel/docker/compose/new-docker-compose.yml /root/docker-compose.yml
|
cp /etc/openpanel/docker/compose/new-docker-compose.yml /root/docker-compose.yml
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -451,7 +450,6 @@ download_new_panel() {
|
|||||||
mkdir -p $OPENPANEL_DIR
|
mkdir -p $OPENPANEL_DIR
|
||||||
echo "Downloading latest OpenPanel image from https://hub.docker.com/r/openpanel/openpanel"
|
echo "Downloading latest OpenPanel image from https://hub.docker.com/r/openpanel/openpanel"
|
||||||
echo ""
|
echo ""
|
||||||
#nohup sh -c "echo openpanel/openpanel:latest | xargs -P4 -n1 docker pull" </dev/null >nohup.out 2>nohup.err &
|
|
||||||
docker pull openpanel/openpanel
|
docker pull openpanel/openpanel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user