veizour пре 6 година
родитељ
комит
82f287c344
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      firstrun.sh

+ 5 - 5
firstrun.sh

@@ -22,19 +22,19 @@ else
 fi
 
 # Check for OSSN folder
-if [ -f /web/html/ossn ]; then
+if [ -f /var/www/html/ossn ]; then
   echo "Using OSSN folder found."
 else
   echo "Populating OSSN folder."
-  RUN cp -R /tmp/ossn/. /web/html/ossn/.
+  RUN cp -R /tmp/ossn/. /var/www/html/ossn/.
 fi
 
 # 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."
 else
   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
 
 # 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."
 else
   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
 fi