瀏覽代碼

Update firstrun.sh

veizour 6 年之前
父節點
當前提交
ad81417609
共有 1 個文件被更改,包括 7 次插入 和 0 次删除
  1. 7 0
      firstrun.sh

+ 7 - 0
firstrun.sh

@@ -48,3 +48,10 @@ else
   echo "moving ossn"
   mv -v -f /tmp/ossn /var/www/html/
 fi
+
+if [ -f /tmp/ossn.config.db.php ]; then
+  mv -f /tmp/ossn.config.db.php /var/www/html/configurations/ossn.config.db.php
+fi
+if [ -f /tmp/ossn.config.site.php ]; then
+  mv -f /tmp/ossn.config.site.php /var/www/html/configurations/ossn.config.site.php
+fi