CyberPanel-PL-Logowanie instalator.

This commit is contained in:
2023-06-22 21:03:43 +02:00
parent 2b8a71c2b2
commit de7ccf441f
2 changed files with 30 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
# CyberPanel-PL-Logowanie-Instalator
# CyberPanel-PL-Logowanie
CyberPanel-PL-Logowanie instalator.
wget https://mojerepo.cf/Nemcio/CyberPanel-PL-Logowanie/raw/branch/master/instalator.sh && chmod 0755 instalator.sh && ./instalator.sh

28
instalator.sh Normal file
View File

@@ -0,0 +1,28 @@
#!/bin/sh
rm -rf ~/CyberPanel-PL-Logowanie
cd .
clear
git clone https://mojerepo.cf/Prywatne/CyberPanel-PL-Logowanie.git
if [ -e ~/CyberPanel-PL-Logowanie/install.sh ] ; then
echo " #####################################################"
echo " # Proszę czekać. #"
echo " #####################################################"
startTime=$(date +%s)
sleep 5
cd ~/CyberPanel-PL-Logowanie
chmod 0755 install.sh
./install.sh
else
echo " #####################################################"
echo " # Przerywam wykonanie skryptu. #"
echo " #####################################################"
rm -rf ~/instalator.sh*
exit 0
fi