Update install.sh

This commit is contained in:
Bozhidar Slaveykov 2023-11-23 23:31:49 +02:00
parent f809510f3b
commit 4d9f17981e

View file

@ -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