From fe600f85464465c2ef51a1d8f39d8fa53048ce6f Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Tue, 20 Aug 2019 22:08:28 +0300 Subject: [PATCH] urls for git repo --- README.md | 2 +- update.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 544de54..44030da 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,4 @@ to filter only to that name as root, with your own risk: -curl https://bitbucket.org/MoonQ/nando/raw/tip/update.sh | bash - +curl https://bitbucket.org/MoonQ/nando/raw/HEAD/update.sh | bash - diff --git a/update.sh b/update.sh index f3795ae..672ad79 100755 --- a/update.sh +++ b/update.sh @@ -11,13 +11,13 @@ which curl &>/dev/null || { set -e for f in nando nandod nando-desc nando-stats; do echo Updating $f - curl -s https://bitbucket.org/MoonQ/nando/raw/tip/$f > /usr/local/bin/$f + curl -s https://bitbucket.org/MoonQ/nando/raw/HEAD/$f > /usr/local/bin/$f chmod a+rx /usr/local/bin/"$f" done test -f /etc/nandorc || { -echo "Copy https://bitbucket.org/MoonQ/nando/raw/tip/etc/nandorc.example to /etc/nandorc and edit it!" -curl -s https://bitbucket.org/MoonQ/nando/raw/tip/etc/nandorc.example +echo "Copy https://bitbucket.org/MoonQ/nando/raw/HEAD/etc/nandorc.example to /etc/nandorc and edit it!" +curl -s https://bitbucket.org/MoonQ/nando/raw/HEAD/etc/nandorc.example } test -f /etc/systemd/system/nando.service || { echo " @@ -25,7 +25,7 @@ echo " Add systemd service to /etc/systemd/system/nando.service systemctld enable nando - https://bitbucket.org/MoonQ/nando/raw/tip/etc/nando.service + https://bitbucket.org/MoonQ/nando/raw/HEAD/etc/nando.service " }