diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-05-18 22:17:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-05-18 22:17:09 -0300 |
commit | 33a9e66447ce8a808669f879ccadadd04e0c00aa (patch) | |
tree | 4a863086ceb17eb2e951346abd9905aac5bfebeb /playlist-get | |
parent | 9672b0581cba2cd226ac199e62b3c106921d771c (diff) | |
download | scripts-33a9e66447ce8a808669f879ccadadd04e0c00aa.tar.gz scripts-33a9e66447ce8a808669f879ccadadd04e0c00aa.tar.bz2 |
Fixing playlist-get
Diffstat (limited to 'playlist-get')
-rwxr-xr-x | playlist-get | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playlist-get b/playlist-get index 5aea297..170f6be 100755 --- a/playlist-get +++ b/playlist-get @@ -57,7 +57,9 @@ cat $PLAYLISTS/$PLAYLIST.m3u | while read file; do prefix="/$(dirname "$file")" mkdir -p "$DEST$prefix" $APP $action "$file" "$DEST$prefix" - else + elif [ "$action" == "get" ]; then $APP $action "$file" + else + $APP $action "$file" $DEST fi done |