aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/getplugs
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-09 00:34:53 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-09 00:34:53 +0530
commitd5512462afa1612eee6018290a55eb6bf151e15f (patch)
treec4b1043cee52b3b5dc80d9c1faa5abf5c6c73130 /plugins/getplugs
parent77ebfff98b4aa2fafa5d43e056af4217b9a6c70e (diff)
downloadnnn-d5512462afa1612eee6018290a55eb6bf151e15f.tar.gz
Move nlaunch to plugins as launch
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