Skip to content

Commit

Permalink
install: Add friendly name for fwsync.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jharshman committed Jul 31, 2023
1 parent dd0309b commit f33bed8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f33bed8

Please sign in to comment.