aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/upgrade
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-27 21:01:55 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-27 21:13:01 +0530
commit2c3b5e2f78cf7b82d242da978d820d7beda2d90a (patch)
tree3c9c13154bba9ff15f05f306c553add8c279c4a8 /plugins/upgrade
parent65c986b70a1eb8de9b06da7488509a68d1976627 (diff)
downloadnnn-2c3b5e2f78cf7b82d242da978d820d7beda2d90a.tar.gz
Add command to download plugins
Diffstat (limited to 'plugins/upgrade')
-rwxr-xr-xplugins/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/upgrade b/plugins/upgrade
index 83b9949..8dd3b5a 100755
--- a/plugins/upgrade
+++ b/plugins/upgrade
@@ -15,7 +15,7 @@ if [ $cur_ver == $new_ver ]; then
fi
# get the package
-wget "https://github.com/jarun/nnn/releases/download/v$new/nnn_$new-1_debian9.amd64.deb"
+curl -Ls -O "https://github.com/jarun/nnn/releases/download/v$new/nnn_$new-1_debian9.amd64.deb"
# install it
sudo dpkg -i nnn_$new-1_debian9.amd64.deb