Update UPDATE.sh

This commit is contained in:
Stefan Pejcic 2024-08-19 12:58:10 +02:00 committed by GitHub
parent 9d373c47ec
commit dc42f19133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}