mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-02 16:16:19 +00:00
Update share-common.func
This commit is contained in:
@@ -375,7 +375,7 @@ select_host_directory__() {
|
|||||||
select_host_directory() {
|
select_host_directory() {
|
||||||
local method result
|
local method result
|
||||||
|
|
||||||
method=$(dialog --title "$(translate "Select Host Directory")" \
|
method=$(whiptail --title "$(translate "Select Host Directory")" \
|
||||||
--menu "$(translate "How do you want to select the HOST folder to mount?")" 15 70 4 \
|
--menu "$(translate "How do you want to select the HOST folder to mount?")" 15 70 4 \
|
||||||
"mnt" "$(translate "Select from /mnt directories")" \
|
"mnt" "$(translate "Select from /mnt directories")" \
|
||||||
"manual" "$(translate "Enter path manually")" \
|
"manual" "$(translate "Enter path manually")" \
|
||||||
@@ -396,7 +396,7 @@ select_host_directory() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
result=$(dialog --title "$(translate "Select Host Folder")" \
|
result=$(whiptail --title "$(translate "Select Host Folder")" \
|
||||||
--menu "$(translate "Select the folder to mount:")" 20 80 10 \
|
--menu "$(translate "Select the folder to mount:")" 20 80 10 \
|
||||||
"${options[@]}" 3>&1 1>&2 2>&3) || return 1
|
"${options[@]}" 3>&1 1>&2 2>&3) || return 1
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user