diff --git a/README.md b/README.md index 1e21f53..38baf44 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# CyberPanel-PL-Logowanie-Instalator +# CyberPanel-PL-Logowanie -CyberPanel-PL-Logowanie instalator. \ No newline at end of file +wget https://mojerepo.cf/Nemcio/CyberPanel-PL-Logowanie/raw/branch/master/instalator.sh && chmod 0755 instalator.sh && ./instalator.sh \ No newline at end of file diff --git a/instalator.sh b/instalator.sh new file mode 100644 index 0000000..df33e36 --- /dev/null +++ b/instalator.sh @@ -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