Explorar el Código

Update 60_update_get_the_site.sh

sparklyballs hace 9 años
padre
commit
d10fa16ac9
Se han modificado 1 ficheros con 1 adiciones y 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