aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/upgrade
diff options
context:
space:
mode:
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