diff --git a/usr/local/bin/filebox b/usr/local/bin/filebox index 16d2896..e963c65 100755 --- a/usr/local/bin/filebox +++ b/usr/local/bin/filebox @@ -1,5 +1,5 @@ #!/bin/bash -# version: 0.1.1 +# version: 0.1.2 # file: filebox # Folder: /usr/local/bin # By echolib diff --git a/var/lib/filebox/scripts/get__files b/var/lib/filebox/scripts/get__files index 6666413..bf93926 100644 --- a/var/lib/filebox/scripts/get__files +++ b/var/lib/filebox/scripts/get__files @@ -80,11 +80,11 @@ do # Get dir from letter fb_sdir=`grep -oE "[[:alpha:]]{1,}" <<<"${user_select[item]}"` case "$fb_sdir" in - r|R) fb_local_dir="$fb_dir_vid_v" ;; + v|V) fb_local_dir="$fb_dir_vid_v" ;; p|P) fb_local_dir="$fb_dir_vid_p" ;; e|E) fb_local_dir="$fb_dir_ebook" ;; m|M) fb_local_dir="$fb_dir_music" ;; - =) fb_local_dir="$fb_dir_other" ;; + *) fb_local_dir="$fb_dir_other" ;; esac download__file