Browse Source

Update install.sh

Bozhidar Slaveykov 1 year ago
parent
commit
4d9f17981e
1 changed files with 5 additions and 10 deletions
  1. 5 10
      installers/Ubuntu/22.04/install.sh

+ 5 - 10
installers/Ubuntu/22.04/install.sh

@@ -1,15 +1,14 @@
 #!/bin/bash
+MAIN_DIR="/alpha-x-panel/raw-repo"
 
+apt install -y git
+cd /
+mkdir -p /alpha-x-panel/raw-repo
+git clone https://github.com/CloudVisionApps/AlphaXPanel.git /alpha-x-panel/raw-repo
 
-
-exit
-
-MAIN_DIR="/AlphaXPanel"
 HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu"
 . $HELPERS_DIR"/common.sh"
 
-exit
-
 # Update the system
 apt update -y
 
@@ -81,10 +80,6 @@ done
 systemctl start nginx
 systemctl enable nginx
 
-
-
-
-exit
 # Change NGINX index.html
 rm -rf /var/www/html/*
 cp $MAIN_DIR/samples/sample-index.html /var/www/html/index.html