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:
parent
0681361e15
commit
cb4111af89
1 changed files with 0 additions and 8 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue