mirror of
https://github.com/YunoHost-Apps/samba_ynh.git
synced 2024-09-03 20:16:27 +02:00
remove: broken and unesseary
This commit is contained in:
parent
81a0e8b5ad
commit
3ae24b6dc9
1 changed files with 3 additions and 26 deletions
|
@ -21,30 +21,7 @@ ynh_abort_if_errors
|
||||||
data_dir=$(ynh_app_setting_get --app=$app --key=data_dir)
|
data_dir=$(ynh_app_setting_get --app=$app --key=data_dir)
|
||||||
install_dir=$(ynh_app_setting_get --app=$app --key=install_dir)
|
install_dir=$(ynh_app_setting_get --app=$app --key=install_dir)
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SPECIFIC GETTERS FOR TOML SHORT KEY
|
|
||||||
#=================================================
|
|
||||||
get__readonly_dir() {
|
|
||||||
local directories=$(ynh_app_setting_get $app directories)
|
|
||||||
if [[ "$directories" == "" ]]
|
|
||||||
then
|
|
||||||
echo "choices: []"
|
|
||||||
else
|
|
||||||
echo "choices:"
|
|
||||||
for directory in $(echo $directories | sed "s/,/ /g")
|
|
||||||
do
|
|
||||||
echo " $directory: $directory"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
get__unbrowseable() {
|
|
||||||
get__readonly_dir
|
|
||||||
}
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SPECIFIC VALIDATORS FOR TOML SHORT KEYS
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETTERS FOR TOML SHORT KEYS
|
# SPECIFIC SETTERS FOR TOML SHORT KEYS
|
||||||
|
|
Loading…
Reference in a new issue