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-06 01:13:04 +07:00
parent cb9ff7ba2b
commit b9cc97ca04

View file

@ -75,9 +75,7 @@ fi
if [ $swap_needed -gt 0 ]; then
ynh_script_progression --message="Adding $swap_needed Mo to swap..."
if ! ynh_add_swap --size=$swap_needed; then
ynh_print_warn --message="Please add $swap_needed Mo to swap to make Photoprism work properly"
fi
ynh_add_swap --size=$swap_needed
fi
#=================================================