1
0
Fork 0
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:
Hemi03 2024-03-29 05:42:41 +01:00
parent 81a0e8b5ad
commit 3ae24b6dc9

View file

@ -21,30 +21,7 @@ ynh_abort_if_errors
data_dir=$(ynh_app_setting_get --app=$app --key=data_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