Fix: Options answer letter
This commit is contained in:
parent
66ea4834cf
commit
aba78b8c4d
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
# version: 0.1.1
|
||||
# version: 0.1.2
|
||||
# file: filebox
|
||||
# Folder: /usr/local/bin
|
||||
# By echolib
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue