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 14:19:18 +07:00
parent e2a6bc695c
commit 3b91ab5830

View file

@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=language --value=$language_key
# ADDING SWAP IF NEEDED
#=================================================
echo ynh_get_ram -t
echo $(ynh_get_ram -t)
if [ $(ynh_get_ram -t) <= 2000 ]; then
ynh_script_progression --message="Adding swap to help building Photoprism..." --time --weight=1
ynh_add_swap --size=1000
@ -170,7 +170,7 @@ popd
# REMOVING SWAP IF NEEDED
#=================================================
if [ swapFlag ]; then
if [ $swapFlag ]; then
ynh_del_swap
ynh_script_progression --message="Removing swap..." --time --weight=1
fi