aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/getplugs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/getplugs')
-rwxr-xr-xplugins/getplugs15
1 files changed, 7 insertions, 8 deletions
diff --git a/plugins/getplugs b/plugins/getplugs
index ff40360..169c4aa 100755
--- a/plugins/getplugs
+++ b/plugins/getplugs
@@ -31,13 +31,13 @@ prompt () {
fi
}
-if [ "$(is_cmd_exists sudo)" -eq "0" ]; then
- sucmd=sudo
-elif [ "$(is_cmd_exists doas)" -eq "0" ]; then
- sucmd=doas
-else
- sucmd=: # noop
-fi
+# if [ "$(is_cmd_exists sudo)" -eq "0" ]; then
+# sucmd=sudo
+# elif [ "$(is_cmd_exists doas)" -eq "0" ]; then
+# sucmd=doas
+# else
+# sucmd=: # noop
+# fi
# backup any earlier plugins
if [ -d "$PLUGIN_DIR" ]; then
@@ -65,5 +65,4 @@ for f in $(find . -maxdepth 1 \( ! -iname "." ! -iname "*.md" \)); do
done
cd ../.. || exit 1
-$sucmd mv -vf nnn-master/misc/nlaunch/nlaunch /usr/local/bin/
rm -rf nnn-master/ master.tar.gz