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:01:54 +07:00
parent 99c2834465
commit cb9ff7ba2b

View file

@ -69,8 +69,8 @@ total_memory=$(ynh_get_ram --total)
swap_needed=0 swap_needed=0
# Need at least 2Go of RAM # Need at least 2Go of RAM
if [ $total_memory -lt 2048 ]; then if [ $total_memory -lt 3072 ]; then
swap_needed=$((2048 - total_memory)) swap_needed=$((3072 - total_memory))
fi fi
if [ $swap_needed -gt 0 ]; then if [ $swap_needed -gt 0 ]; then