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:
parent
b9fab43b9d
commit
e2a6bc695c
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ ynh_app_setting_set --app=$app --key=language --value=$language_key
|
|||
#=================================================
|
||||
|
||||
echo ynh_get_ram -t
|
||||
if [ $(ynh_get_ram -t) <= 2000 ]
|
||||
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
|
||||
swapFlag = true
|
||||
|
@ -170,7 +170,7 @@ popd
|
|||
# REMOVING SWAP IF NEEDED
|
||||
#=================================================
|
||||
|
||||
if [ swapFlag ]
|
||||
if [ swapFlag ]; then
|
||||
ynh_del_swap
|
||||
ynh_script_progression --message="Removing swap..." --time --weight=1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue