diff options
author | jnats <dev@jnats.xyz> | 2021-04-24 00:24:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 00:24:18 +0100 |
commit | 0db00e60490aa14eefc35981166640a29d39c8ce (patch) | |
tree | 3240cea2a48ca98ec65da4361f280eaf11f04c38 | |
parent | 1586d91ceb9a77812862ce74084a40c7cbe1b807 (diff) | |
download | nofetch-0db00e60490aa14eefc35981166640a29d39c8ce.tar.gz nofetch-0db00e60490aa14eefc35981166640a29d39c8ce.tar.bz2 |
Update install.sh
-rw-r--r-- | install.sh | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -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 |