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

Update install

This commit is contained in:
Limezy 2022-06-05 15:11:45 +07:00
parent 20936cb805
commit 228198fd4d

View file

@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=language --value=$language_key
# ADDING SWAP IF NEEDED
#=================================================
if [ $(ynh_get_ram -t) -lt "1000" ]; then
if [ $(ynh_get_ram -t) -lt "2000" ]; then
ynh_script_progression --message="Adding swap to help building Photoprism..." --time --weight=1
ynh_add_swap --size=1000 2>&1
swapFlag=true