split_php_prepare #105

Merged
Ark74 merged 11 commits from Ark74/quick-jibri-installer:split_php_prepare into master 2024-01-23 08:46:54 +00:00
1 changed files with 6 additions and 2 deletions
Showing only changes of commit 0e222b2a3e - Show all commits

View File

@ -180,7 +180,12 @@ install_ifnot postgresql-"$PSGVER"
#--------------------------------------------------
# Prepare PHP
#--------------------------------------------------
bash tools/prepare_php.sh "$MIN_PHP"
if [ "$MODE" = "debug" ]; then
bash -x "$PWD"/tools/prepare_php.sh "$MIN_PHP"
else
bash "$PWD"/tools/prepare_php.sh "$MIN_PHP"
fi
#--------------------------------------------------
# Create DB user
@ -298,7 +303,6 @@ echo -e "\nAdding trusted domain...\n"
sudo -u www-data php$MIN_PHP "$NC_PATH"/occ config:system:set trusted_domains 0 --value="$NC_DOMAIN"
echo -e "\nSetting JRA domain on jitsi-updater.sh\n"
cd ~/quick-jibri-installer || return
sed -i "s|NC_DOMAIN=.*|NC_DOMAIN=\"$NC_DOMAIN\"|" jitsi-updater.sh
echo -e "\nQuick Nextcloud installation complete!\n"