소스 검색

Fix post_install message

Félix Piédallu 1 년 전
부모
커밋
d205e29167
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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