Explorar o código

Update 60_update_get_the_site.sh

sparklyballs %!s(int64=9) %!d(string=hai) anos
pai
achega
d10fa16ac9
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      init/60_update_get_the_site.sh

+ 1 - 2
init/60_update_get_the_site.sh

@@ -1,8 +1,7 @@
 #!/bin/bash
 
-cp /defaults/photoshow /config/nginx/site-confs/default
-
 if [ ! -f "/config/www/PhotoShow/config.php" ]; then
+cp /defaults/photoshow /config/nginx/site-confs/default
 echo "fetching photoshow files from github"
 git clone https://github.com/thibaud-rohmer/PhotoShow.git /config/www/PhotoShow
 sed -i -e 's/$config->photos_dir.\+/$config->photos_dir = "\/Pictures";/' /config/www/PhotoShow/config.php