mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
ynh_string_random can't go further 24...
This commit is contained in:
parent
27cc87b09c
commit
69b0e9ddd2
2 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ virtualenv "${final_path}/venv"
|
||||||
#=================================================
|
#=================================================
|
||||||
db_pwd=$(ynh_app_setting_get "$app" psqlpwd)
|
db_pwd=$(ynh_app_setting_get "$app" psqlpwd)
|
||||||
admin_mail=$(ynh_user_get_info "$admin" mail)
|
admin_mail=$(ynh_user_get_info "$admin" mail)
|
||||||
key=$(ynh_string_random 50)
|
key=$(ynh_string_random 24)$(ynh_string_random 24)$(ynh_string_random 2)
|
||||||
memc_port=$(ynh_find_port 8080)
|
memc_port=$(ynh_find_port 8080)
|
||||||
settings="$final_path/venv/lib/python2.7/site-packages/weblate/settings.py"
|
settings="$final_path/venv/lib/python2.7/site-packages/weblate/settings.py"
|
||||||
cp "../conf/settings_history/settings.$current_version.py" "$settings"
|
cp "../conf/settings_history/settings.$current_version.py" "$settings"
|
||||||
|
|
|
@ -25,7 +25,7 @@ admin_mail=$(ynh_user_get_info "$admin" mail)
|
||||||
memc_port=$(ynh_app_setting_get "$app" memc_port)
|
memc_port=$(ynh_app_setting_get "$app" memc_port)
|
||||||
github_account=$(ynh_app_setting_get "$app" github_account)
|
github_account=$(ynh_app_setting_get "$app" github_account)
|
||||||
migration311=$(ynh_app_setting_get "$app" migration311)
|
migration311=$(ynh_app_setting_get "$app" migration311)
|
||||||
key=$(ynh_string_random 50)
|
key=$(ynh_string_random 24)$(ynh_string_random 24)$(ynh_string_random 2)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# Get previous version number
|
# Get previous version number
|
||||||
|
|
Loading…
Reference in a new issue