CT Nextcloud: fixed Nginx config and updated php dependencies

This commit is contained in:
2024-01-11 23:06:52 +01:00
parent 26f3851ee4
commit 2aa440e01d
3 changed files with 59 additions and 34 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
#Vars
#Goto ProjectRoot
cd "$( cd "$( dirname "$0" )" &> /dev/null && pwd )/.."
read -p "Old PHP version (example 82): " OldPHPVer
read -p "New PHP version (example 83): " NewPHPVer
sed -e -i "s/php$OldPHPVer/php$NewPHPVer/g" ./CT-Build/Alpine.yaml
find ./CT-Files -name '*' | xargs sed -i -e "s/php-fpm$OldPHPVer/php-fpm$NewPHPVer/g" -e "s/php$OldPHPVer/php$NewPHPVer/g"