Create UPDATE.sh

This commit is contained in:
Stefan Pejcic 2025-03-11 01:52:51 +01:00 committed by GitHub
parent 3d4283df97
commit 30f1e0a06d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

7
version/1.1.3/UPDATE.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# replace path in template
sed -i 's|/opt/bitnami/php/etc/conf.d|/usr/local/etc/php/|g' /etc/openpanel/docker/compose/1.0/docker-compose.yml
# replace for existing users
sed -i 's|/opt/bitnami/php/etc/conf.d|/usr/local/etc/php/|g' /home/*/docker-compose.yml