seperate out touch commands for mac

This commit is contained in:
Bryan Jenks 2020-04-28 22:40:21 -07:00
parent 11b847b635
commit c8391d9b25
1 changed files with 1 additions and 1 deletions

2
flash
View File

@ -110,7 +110,7 @@ if [ ! -d "$DIR" ];then
read RESPONSE
case "$RESPONSE" in
[QqNn]) exit ;;
[Yy]) mkdir "$DIR" && touch "$DIR"{/deck.csv,/.highscore,/.reviews} && echo "$DECK_TEMPLATE" > "$EXAMPLE_DECK" && echo -e "$DIR_MADE_MSG" && exit ;;
[Yy]) mkdir "$DIR" && touch "$DIR/deck.csv" && touch "$DIR/.highscore" && touch "$DIR/.reviews" && echo "$DECK_TEMPLATE" > "$EXAMPLE_DECK" && echo -e "$DIR_MADE_MSG" && exit ;;
*) echo -e "invalid choice, please select either ${LGREEN}y${NC} or ${LRED}n${NC}" && exit ;;
esac
fi