mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Update upgrade
This commit is contained in:
parent
1ed7804827
commit
1f9628101b
1 changed files with 5 additions and 5 deletions
|
@ -57,7 +57,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=2
|
|||
ynh_setup_source --dest_dir="$install_dir/build"
|
||||
ynh_setup_source --dest_dir="$install_dir/build_ldap" --source_id="ldap"
|
||||
|
||||
mkdir -p "$install_dir/live/data"
|
||||
mkdir -p "$install_dir/live"
|
||||
mkdir -p "$install_dir/live_ldap/data"
|
||||
|
||||
ynh_secure_remove --file="$install_dir/live/static/"
|
||||
|
@ -111,10 +111,10 @@ fi
|
|||
ynh_script_progression --message="Updating a configuration file..." --weight=2
|
||||
|
||||
# If password_hash doesn't exist, create it
|
||||
if [ -z "${password_hash:-}" ]; then
|
||||
password_hash=$(echo $($install_dir/galene-password-generator $password))
|
||||
ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash"
|
||||
fi
|
||||
#if [ -z "${password_hash:-}" ]; then
|
||||
# password_hash=$(echo $($install_dir/galene-password-generator $password))
|
||||
# ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash"
|
||||
#fi
|
||||
# Configure Galène
|
||||
#ynh_add_config --template="../conf/config.json" --destination="$data_dir/data/config.json"
|
||||
#chmod 400 "$data_dir/data/config.json"
|
||||
|
|
Loading…
Add table
Reference in a new issue