1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osada_ynh.git synced 2024-09-03 19:46:30 +02:00

fix upgrade

This commit is contained in:
Salamandar 2024-02-26 20:51:26 +01:00
parent 0681361e15
commit cb4111af89

View file

@ -68,14 +68,6 @@ chmod -R 775 $install_dir/store $install_dir/cache
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1
if [ $database = "mysql" ]; then
db_type=0
#REMOVEME? db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
elif [ $database = "postgresql" ]; then
db_type=1
#REMOVEME? db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
fi
ynh_add_config --template="htconfig.sample.php" --destination="$install_dir/.htconfig.php"
chmod 600 "$install_dir/.htconfig.php"