fix for settings_update.php

This commit is contained in:
Xander Luedtke
2023-01-04 18:40:47 -07:00
parent 65c1e7f4b8
commit 0e0a67ef4f
2 changed files with 8 additions and 3 deletions

View File

@@ -49,6 +49,10 @@ else
chmod -R 777 /var/www/html
fi
if [[-f /var/www/html/settings_update.php ]]; then
sed -i "s/\$repo_branch.*';/\$repo_branch = '$ITFLOW_REPO_BRANCH';/g" /var/www/html/settings_update.php
fi
# Enable the apache2 sites-available
service apache2 reload
service apache2 stop