installer and updater
This commit is contained in:
13
install.sh
Executable file
13
install.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
[[ $UID -eq 0 ]] || {
|
||||
echo Run as root to install in /usr/local/bin >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
for f in nando nandod nando-desc nando-stats; do
|
||||
cp -vi "$f" /usr/local/bin/
|
||||
chmod a+rx /usr/local/bin/"$f"
|
||||
done
|
||||
echo "Copy etc/nandorc.example /etc/nandorc and edit it!"
|
||||
|
||||
Reference in New Issue
Block a user