urls for git repo

This commit is contained in:
Ville Rantanen
2019-08-20 22:08:28 +03:00
parent c5f1e2169e
commit fe600f8546
2 changed files with 5 additions and 5 deletions

View File

@@ -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
"
}