prepare_php.sh: add missing install_ifnot function #106
			
				
			
		
		
		
	| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue