From 1c2d7033f069f442160a05c41ce6062675b89b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aim=C3=A9?= Date: Thu, 25 Mar 2021 10:10:36 +0100 Subject: [PATCH] Update install.sh Adding Desktop directory check. --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 7445126..c74c324 100644 --- a/install.sh +++ b/install.sh @@ -327,6 +327,7 @@ compile_vuejs() { create_desktop() { # Create desktop icon to lauch TinyCheck in a browser + if [[ -d "/home/$CURRENT_USER/Desktop/" ]]; then echo -e "\e[39m[+] Create Desktop icon under /home/${CURRENT_USER}/Desktop\e[39m" cat >"/home/$CURRENT_USER/Desktop/tinycheck.desktop" <