aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.sh15
1 files changed, 3 insertions, 12 deletions
diff --git a/install.sh b/install.sh
index 6c0f806..b7b77d2 100644
--- a/install.sh
+++ b/install.sh
@@ -2,26 +2,17 @@
if [ $EUID -eq 0 ]
then
- if [ $DEBUG -eq 1 ]
- then
- echo "[/] uid 0"
- fi
+ echo "[/] uid 0"
chmod +x nofetch
sudo cp nofetch /usr/local/bin
elif command -v doas &> /dev/null
then
- if [ $DEBUG -eq 1 ]
- then
- echo "[/] doas"
- fi
+ echo "[/] doas"
chmod +x nofetch
doas cp nofetch /usr/local/bin
elif command -v sudo &> /dev/null
then
- if [ $DEBUG -eq 1 ]
- then
- echo "[/] sudo"
- fi
+ echo "[/] sudo"
chmod +x nofetch
sudo cp nofetch /usr/local/bin
else