Explorar o código

Fix post_install message

Félix Piédallu hai 1 ano
pai
achega
d205e29167
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      scripts/install

+ 2 - 0
scripts/install

@@ -14,6 +14,8 @@ source /usr/share/yunohost/helpers
 if [ "$encrypt" -eq 1 ] && [ -z "$encryption_pwd" ]; then
     ynh_die --message="encryption_pwd can't be empty if you choose to enable encryption."
 fi
+# Not saved as settings by default
+ynh_app_setting_set --app="$app" --key="encryption_pwd" --value="$encryption_pwd"
 
 _set_frequencies