Fix: Options answer letter
This commit is contained in:
parent
66ea4834cf
commit
aba78b8c4d
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# version: 0.1.1
|
# version: 0.1.2
|
||||||
# file: filebox
|
# file: filebox
|
||||||
# Folder: /usr/local/bin
|
# Folder: /usr/local/bin
|
||||||
# By echolib
|
# By echolib
|
||||||
|
|
|
@ -80,11 +80,11 @@ do
|
||||||
# Get dir from letter
|
# Get dir from letter
|
||||||
fb_sdir=`grep -oE "[[:alpha:]]{1,}" <<<"${user_select[item]}"`
|
fb_sdir=`grep -oE "[[:alpha:]]{1,}" <<<"${user_select[item]}"`
|
||||||
case "$fb_sdir" in
|
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" ;;
|
p|P) fb_local_dir="$fb_dir_vid_p" ;;
|
||||||
e|E) fb_local_dir="$fb_dir_ebook" ;;
|
e|E) fb_local_dir="$fb_dir_ebook" ;;
|
||||||
m|M) fb_local_dir="$fb_dir_music" ;;
|
m|M) fb_local_dir="$fb_dir_music" ;;
|
||||||
=) fb_local_dir="$fb_dir_other" ;;
|
*) fb_local_dir="$fb_dir_other" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
download__file
|
download__file
|
||||||
|
|
Loading…
Reference in New Issue