瀏覽代碼

Update install.sh

Bozhidar Slaveykov 1 年之前
父節點
當前提交
fcda96c111
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      installers/Ubuntu/22.04/install.sh

+ 4 - 2
installers/Ubuntu/22.04/install.sh

@@ -1,6 +1,7 @@
 #!/bin/bash
 
-HELPERS_DIR="/AlphaXPanel/shell/helpers/ubuntu"
+MAIN_DIR="/AlphaXPanel"
+HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu"
 . $HELPERS_DIR"/common.sh"
 
 # Update the system
@@ -46,4 +47,5 @@ done
 systemctl start nginx
 systemctl enable nginx
 
-php -v
+rm -rf /var/www/html/*
+cp $MAIN_DIR/samples/sample-index.html /var/www/html/index.html