Commit cc01ff7a59ca943d7b754c87cf94d657500e2807

Authored by isisadmin
1 parent 956367c9

bug fix

Showing 1 changed file with 3 additions and 0 deletions
spod-manager.sh
@@ -276,6 +276,8 @@ echo "SPOD MANAGER Action: $ACTION ..." @@ -276,6 +276,8 @@ echo "SPOD MANAGER Action: $ACTION ..."
276 git remote rm origin 276 git remote rm origin
277 git init 277 git init
278 git remote add origin http://$GITUSER:$GITPASSWORD@$GITSPOD/isislab/spod-themes.git 278 git remote add origin http://$GITUSER:$GITPASSWORD@$GITSPOD/isislab/spod-themes.git
  279 +
  280 + chown www-data:www-data -R /var/www
279 service apache2 start 281 service apache2 start
280 282
281 ;; 283 ;;
@@ -305,6 +307,7 @@ echo "SPOD MANAGER Action: $ACTION ..." @@ -305,6 +307,7 @@ echo "SPOD MANAGER Action: $ACTION ..."
305 wget -q -O /dev/null http://localhost/ 307 wget -q -O /dev/null http://localhost/
306 rm -f /var/www/ow_includes/config.php 308 rm -f /var/www/ow_includes/config.php
307 echo $CONFIG0$HOSTNAMESPOD$CONFIG1$CONFIG3 >> /var/www/ow_includes/config.php 309 echo $CONFIG0$HOSTNAMESPOD$CONFIG1$CONFIG3 >> /var/www/ow_includes/config.php
  310 + chown www-data:www-data -R /var/www
308 service apache2 restart 311 service apache2 restart
309 else 312 else
310 echo "Your SPOD installation is corrupt, please uninstall and istall it again. Your database will be erased." 313 echo "Your SPOD installation is corrupt, please uninstall and istall it again. Your database will be erased."