Browse Source

Update install.sh

Bozhidar Slaveykov 1 year ago
parent
commit
fcda96c111
1 changed files with 4 additions and 2 deletions
  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