1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00

declare admin for upgrade

This commit is contained in:
Thomas 2024-06-12 21:42:57 +02:00 committed by GitHub
parent 78b51067e5
commit c4224edec8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,11 @@ if [ -z "${language_key:-}" ]; then
ynh_app_setting_delete --app=$app --key=language
fi
if [ -z "${admin:-}" ]; then
admin=$admin
ynh_app_setting_set --app=$app --key=admin --value=$admin
fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================