diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-05-11 15:53:44 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-05-11 15:53:44 +0200 |
commit | fe2385fe3faf097dd2d4fe32549e6484868a7117 (patch) | |
tree | f9db4137b63a8cff35e90e6c18553e72d8620a0e /clerk | |
parent | 84eedc23d13dd3b64b0fb77565da1070b37a1fd4 (diff) | |
download | perl-app-clerk-fe2385fe3faf097dd2d4fe32549e6484868a7117.tar.gz perl-app-clerk-fe2385fe3faf097dd2d4fe32549e6484868a7117.tar.xz |
fix wrong returns
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1069,8 +1069,8 @@ AddTrackTags() { browseDate() { date=$(echo -e "0 Return to Main Menu\n---\n$(mpc list date | $tac)" | dmenu_t -dmenu -p "Choose Date > ") - if [[ "$date" == "0 Return to Main Menu" ]] - then dplayPrompt + if [[ "$date" == "0 Return to Browse Menu" ]] + then browseLibPrompt else browseDateAdd fi @@ -1418,8 +1418,8 @@ browseArtist() { val=$? export ARTIST="$ARTIST" - if [[ "$ARTIST" == "0 Return to Main Menu" ]]; then - dplayPrompt + if [[ "$ARTIST" == "0 Return to Browse Menu" ]]; then + browseLibPrompt elif [[ "$val" -eq 0 ]]; then export ARTIST="$ARTIST" browseAlbum @@ -1491,8 +1491,8 @@ browseAlbumArtist() { val=$? export ARTIST="$ARTIST" - if [[ "$ARTIST" == "0 Return to Main Menu" ]]; then - dplayPrompt + if [[ "$ARTIST" == "0 Return to Browse Menu" ]]; then + browseLibPrompt elif [[ "$val" -eq 0 ]]; then export ARTIST="$ARTIST" browseAlbumArtistAlbum |