Skip to content

Commit

Permalink
sh compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
LightSrc committed Nov 20, 2024
1 parent 077e56d commit 3abe343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ chmod +x void-pilot
echo "Do you want to add void-pilot to your PATH? yes(recommended), no"
read add_to_path_answer

if [ $add_to_path_answer = "y" ] || [ $add_to_path_answer = "yes" ]; then
if [ "$add_to_path_answer" = "y" ] || [ "$add_to_path_answer" = "yes" ]; then
if [ -f ~/.bashrc ]; then
if [ "$(bashrc_contains_void_pilot_path)" = "False" ]; then
echo 'export PATH=$HOME/void-pilot:$PATH' >> ~/.bashrc
Expand Down

0 comments on commit 3abe343

Please sign in to comment.