From e052593e0924e74bd04da8f15d71e1bc1d046ecb Mon Sep 17 00:00:00 2001 From: GermanBread <71450236+GermanBread@users.noreply.github.com> Date: Fri, 16 Oct 2020 16:00:31 +0200 Subject: [PATCH] Update Lightcord_installer.sh --- Lightcord_installer.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Lightcord_installer.sh b/Lightcord_installer.sh index 783068f..f6ba269 100644 --- a/Lightcord_installer.sh +++ b/Lightcord_installer.sh @@ -54,20 +54,18 @@ case $selection in mv Lightcord/ /opt/; printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Deleting $(pwd)/Lightcord folder$(tput sgr0)\n"; rm Lightcord/; - #printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Downloading Lightcord.desktop file to $(pwd && tput sgr0)\n"; - #wget https://raw.githubusercontent.com/Lightcord/Lightcord/master/Lightcord.desktop; - printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Moving $(pwd)/Lightcord.desktop file to /usr/share/applications$(tput sgr0)\n"; - mv Lightcord.desktop /usr/share/applications; printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Downloading lightcord.svg icon to $(pwd && tput sgr0)\n"; wget https://raw.githubusercontent.com/Lightcord/LightcordLogos/master/lightcord/lightcord.svg; printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Moving $(pwd)/lightcord.svg file to /usr/share/pixmaps$(tput sgr0)\n"; mv lightcord.svg /usr/share/pixmaps; printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Downloading /usr/share/applications/lightcord.desktop$(tput sgr0)\n"; wget https://raw.githubusercontent.com/PoorPocketsMcNewHold/Lightcord-PKGBUILD/master/Lightcord.desktop - printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Moving $(pwd)/Lightcord.desktop to /usr/share/applications/Lightcord.desktop$(tput sgr0)\n"; - mv Lightcord.desktop /usr/share/applications/; + printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Downloading Lightcord.desktop file to $(pwd && tput sgr0)\n"; + wget https://raw.githubusercontent.com/Lightcord/Lightcord/master/Lightcord.desktop; + printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Moving $(pwd)/Lightcord.desktop file to /usr/share/applications$(tput sgr0)\n"; + mv Lightcord.desktop /usr/share/applications; printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Giving /usr/share/Lightcord.desktop executable execute permissions$(tput sgr0)\n"; - chmod +x /usr/share/applications/Lightcord.desktop; + chmod +x /usr/share/applications/Lightcord.desktop; printf "[$(tput setaf 12 && tput blink)INFO$(tput sgr0)] $(tput setaf 7)Cleaning up$(tput sgr0)\n"; rm -rf Lightcord; printf "[$(tput setaf 10 && tput blink)FINISH$(tput sgr0)] Installation complete\n"