From f33bed8c368973f33d4a36919b96e2646c2d96eb Mon Sep 17 00:00:00 2001 From: Josh Harshman Date: Mon, 31 Jul 2023 16:36:06 -0600 Subject: [PATCH] install: Add friendly name for fwsync. Add a friendlier name "firewall-sync" which is a symbolic link to the real installed binary. This provides users with a more explicit name to invoke on the command line without breaking functionality for users that already invoke fwsync. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 1dab89f..af12bf4 100755 --- a/install.sh +++ b/install.sh @@ -20,6 +20,7 @@ mkdir -p $HOME/.local/bin wget -q $RELEASE tar -C $HOME/.local/bin/ --exclude README.md -zxvf fwsync_${OS}_${ARCH}.tar.gz chmod +x $HOME/.local/bin/fwsync +ln -sf $HOME/.local/bin/fwsync $HOME/.local/bin/firewall-sync rcfile="$HOME/.zshrc" if [[ $SHELL == "/bin/bash" ]]; then