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
9d373c47ec
commit
dc42f19133
@ -440,9 +440,10 @@ update_config_files() {
|
||||
echo "Downloading latest OpenPanel configuration from https://github.com/stefanpejcic/openpanel-configuration"
|
||||
echo ""
|
||||
cd /etc/openpanel/
|
||||
git stash
|
||||
git fetch origin
|
||||
git checkout origin/main -- .
|
||||
git add .
|
||||
git rebase origin/main
|
||||
git stash pop
|
||||
cp /etc/openpanel/docker/compose/new-docker-compose.yml /root/docker-compose.yml
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user