aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorjnats <dev@jnats.xyz>2021-04-24 00:24:18 +0100
committerGitHub <noreply@github.com>2021-04-24 00:24:18 +0100
commit0db00e60490aa14eefc35981166640a29d39c8ce (patch)
tree3240cea2a48ca98ec65da4361f280eaf11f04c38 /install.sh
parent1586d91ceb9a77812862ce74084a40c7cbe1b807 (diff)
downloadnofetch-0db00e60490aa14eefc35981166640a29d39c8ce.tar.gz
nofetch-0db00e60490aa14eefc35981166640a29d39c8ce.tar.bz2
Update install.sh
Diffstat (limited to 'install.sh')
-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