1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dokuwiki_ynh.git synced 2024-09-03 18:26:20 +02:00

[fix] Fix encoding to ascii instead of utf8

This commit is contained in:
Gofannon 2018-07-08 00:10:16 +02:00
parent 1ee015bd50
commit 7d5a382f4d

View file

@ -43,13 +43,13 @@ if [ -z $final_path ]; then
fi fi
# TODO Not sure if still needed ?? # TODO Not sure if still needed ??
# admin default value, if not set # admin default value, if not set
if [ -z "$admin" ]; then if [ -z "$admin" ]; then
admin=$(sudo yunohost user list | grep 'username' -m1 | awk '{print $2}') admin=$(sudo yunohost user list | grep 'username' -m1 | awk '{print $2}')
sudo ynh_app_setting_set $app is_public -v "$is_public" sudo ynh_app_setting_set $app is_public -v "$is_public"
fi fi
# language default value, if not set # language default value, if not set
if [ -z "$language" ]; then if [ -z "$language" ]; then
language='en' language='en'
ynh_app_setting_set $app language $language ynh_app_setting_set $app language $language
@ -82,7 +82,7 @@ if [ ! -f "$final_path/conf/local.protected.php" ]; then
cp ../conf/local.protected.php $final_path/conf cp ../conf/local.protected.php $final_path/conf
fi fi
# Do not overwrite existing dokuwiki configuration as it could have user customization's and settings. # Do not overwrite existing dokuwiki configuration as it could have user customization's and settings.
# Cannot use helper "ynh_backup_if_checksum_is_different" # Cannot use helper "ynh_backup_if_checksum_is_different"
# Create file if it does not exist # Create file if it does not exist
if [ ! -f "$final_path/conf/local.php" ]; then if [ ! -f "$final_path/conf/local.php" ]; then
@ -93,7 +93,7 @@ if [ ! -f "$final_path/conf/local.php" ]; then
cp ../conf/local.php $final_path/conf cp ../conf/local.php $final_path/conf
fi fi
# Do not overwrite existing ACL configuration file as it could have user customization's and settings. # Do not overwrite existing ACL configuration file as it could have user customization's and settings.
# Cannot use helper "ynh_backup_if_checksum_is_different" # Cannot use helper "ynh_backup_if_checksum_is_different"
# Create file if it does not exist # Create file if it does not exist
# See https://www.dokuwiki.org/acl#background_info # See https://www.dokuwiki.org/acl#background_info