Fix: Options answer letter

This commit is contained in:
Cyrille L 2022-03-21 18:38:18 +01:00
parent 66ea4834cf
commit aba78b8c4d
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
# version: 0.1.1
# version: 0.1.2
# file: filebox
# Folder: /usr/local/bin
# By echolib

View File

@ -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