diff --git a/conf/init_calibre_db_user b/conf/init_calibre_db_user index 1959002..f9b60f8 100644 --- a/conf/init_calibre_db_user +++ b/conf/init_calibre_db_user @@ -1,3 +1,3 @@ nickname=\'$admin\', default_language=\'$language\', -password=\'$(python ../conf/generate_password_hash.py $password $final_path/vendor)\' \ No newline at end of file +password=\'$pass_hash\' \ No newline at end of file diff --git a/scripts/install b/scripts/install index fdb5084..fedeece 100755 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,7 @@ path_url=$YNH_APP_ARG_PATH admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC language=$YNH_APP_ARG_LANGUAGE -password=$YNH_APP_ARG_PASSWORD +pass_hash=$(python ../conf/generate_password_hash.py $YNH_APP_ARG_PASSWORD $final_path/vendor) app=$YNH_APP_INSTANCE_NAME calibre_dir=$3