Bladeren bron

Update firstrun.sh

veizour 6 jaren geleden
bovenliggende
commit
82f287c344
1 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 5 5
      firstrun.sh

+ 5 - 5
firstrun.sh

@@ -22,19 +22,19 @@ else
 fi
 fi
 
 
 # Check for OSSN folder
 # Check for OSSN folder
-if [ -f /web/html/ossn ]; then
+if [ -f /var/www/html/ossn ]; then
   echo "Using OSSN folder found."
   echo "Using OSSN folder found."
 else
 else
   echo "Populating OSSN folder."
   echo "Populating OSSN folder."
-  RUN cp -R /tmp/ossn/. /web/html/ossn/.
+  RUN cp -R /tmp/ossn/. /var/www/html/ossn/.
 fi
 fi
 
 
 # Check for OSSN DB config and add
 # Check for OSSN DB config and add
-if [ -f /config/ossn.config.db ]; then
+if [ -f /config/ossn.config.db.php ]; then
   echo "Using saved OSSN DB config file."
   echo "Using saved OSSN DB config file."
 else
 else
   echo "Creating OSSN DB config from template."
   echo "Creating OSSN DB config from template."
-  mv /etc/apache2/ossn.config.db /config/ossn.config.db
+  mv /etc/apache2/ossn.config.db.php /config/ossn.config.db.php
 fi
 fi
 
 
 # Check for OSSN Site config and add
 # Check for OSSN Site config and add
@@ -42,6 +42,6 @@ if [ -f /config/ossn.config.site ]; then
   echo "Using saved OSSN Site config file."
   echo "Using saved OSSN Site config file."
 else
 else
   echo "Creating OSSN Site config from template."
   echo "Creating OSSN Site config from template."
-  mv /etc/apache2/ossn.config.site /config/ossn.config.site
+  mv /etc/apache2/ossn.config.site.php /config/ossn.config.site.php
   RUN service apache2 restart
   RUN service apache2 restart
 fi
 fi