CT Nextcloud: fixed Nginx config and updated php dependencies
This commit is contained in:
12
Scripts/AlpineUpdatePHPVer.sh
Normal file
12
Scripts/AlpineUpdatePHPVer.sh
Normal 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"
|
||||
Reference in New Issue
Block a user