Create a symlink to qmk if requested

This commit is contained in:
Fred Sundvik 2017-05-28 21:38:14 +03:00
parent ec720ac1ea
commit 999b35c7f8

View File

@ -136,6 +136,19 @@ else
done done
fi fi
while true; do
echo
echo "Do you want to add a symlink to the QMK repository in your home directory for convenience?"
echo "This will create a folder 'qmk_firmware' in your home directory."
echo "In the future you can use this folder instead of the full path on your windows file system"
read -p "(Y/N)? " res
case $res in
[Yy]* ) ln -sfn "$dir/.." ~/qmk_firmware; break;;
[Nn]* ) break;;
* ) echo "Invalid answer";;
esac
done
echo echo
echo "******************************************************************************" echo "******************************************************************************"
echo "Installation completed!" echo "Installation completed!"