Skip to content

Commit

Permalink
bugfix: Missing newline for PATH modification
Browse files Browse the repository at this point in the history
This PR fixes a small bug that can cause an error in the rc file when
the path to fwsync is appeneded. To avoid this a newline is placed
before the call to export.
  • Loading branch information
jharshman committed Jul 31, 2023
1 parent 64cd3d3 commit d6d58e8
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 @@ -28,6 +28,7 @@ fi

# update PATH if required.
if ! grep -q '# ADDED BY FWSYNC' $rcfile; then
echo ""
echo "export PATH=\$HOME/.local/bin:\$PATH # ADDED BY FWSYNC" >> $rcfile
fi

Expand Down

0 comments on commit d6d58e8

Please sign in to comment.