From 4b9bce3d47e2d3a33f33cdbb9d70a685d77a5795 Mon Sep 17 00:00:00 2001 From: qo-op Date: Fri, 19 Feb 2021 15:51:10 +0100 Subject: [PATCH] install only if secret.june is missing --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 80945818d..5c7349044 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,9 @@ ######################################################################## { [ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. Utilisez un simple utilisateur du groupe \"sudo\" SVP" && exit 1 -[[ -f ~/.zen/secret.june ]] && echo "Installation déjà faite. Vos identifiants https://gchange.fr sont," && cat ~/.zen/secret.june && exit 1 + +if [[ ! -f ~/.zen/secret.june ]]; +then # Check requirements echo "AstrXbian installateur pour https://xbian.org et autres ditributions basées sur DEBIAN" @@ -74,6 +76,8 @@ mkdir -p ~/astroport/film mkdir -p ~/astroport/serie mkdir -p ~/astroport/anime +fi + echo "Installation complete !! ==================================================