urls for git repo
This commit is contained in:
@@ -19,4 +19,4 @@ to filter only to that name
|
|||||||
|
|
||||||
as root, with your own risk:
|
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 -
|
||||||
|
|||||||
@@ -11,13 +11,13 @@ which curl &>/dev/null || {
|
|||||||
set -e
|
set -e
|
||||||
for f in nando nandod nando-desc nando-stats; do
|
for f in nando nandod nando-desc nando-stats; do
|
||||||
echo Updating $f
|
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"
|
chmod a+rx /usr/local/bin/"$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
test -f /etc/nandorc || {
|
test -f /etc/nandorc || {
|
||||||
echo "Copy https://bitbucket.org/MoonQ/nando/raw/tip/etc/nandorc.example to /etc/nandorc and edit it!"
|
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/tip/etc/nandorc.example
|
curl -s https://bitbucket.org/MoonQ/nando/raw/HEAD/etc/nandorc.example
|
||||||
}
|
}
|
||||||
test -f /etc/systemd/system/nando.service || {
|
test -f /etc/systemd/system/nando.service || {
|
||||||
echo "
|
echo "
|
||||||
@@ -25,7 +25,7 @@ echo "
|
|||||||
Add systemd service to /etc/systemd/system/nando.service
|
Add systemd service to /etc/systemd/system/nando.service
|
||||||
systemctld enable nando
|
systemctld enable nando
|
||||||
|
|
||||||
https://bitbucket.org/MoonQ/nando/raw/tip/etc/nando.service
|
https://bitbucket.org/MoonQ/nando/raw/HEAD/etc/nando.service
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user