added "install it" target
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 17 Feb 2020 21:32:48 +0000 (22:32 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 17 Feb 2020 21:33:49 +0000 (22:33 +0100)
emulator/gnt-cluster

index d4a46eb..75194fb 100755 (executable)
@@ -26,6 +26,10 @@ elif [ "$op" = "copyfile" ] ; then
        rsync $1 lib10:$1
        rsync $1 lib20:$1
 
+elif [ "$op" = "install" ] ; then # use as "install it" since needs install command and arg
+
+       ln -sfv `pwd`/gnt-cluster /usr/local/bin/
+
 else
        echo "UNKNOWN [$op] $*"
        exit 1