mirror of
https://github.com/YunoHost-Apps/photoprism_ynh.git
synced 2024-09-03 19:56:41 +02:00
Update ynh_add_swap
This commit is contained in:
parent
6de05cbe22
commit
f119a2d00e
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ ynh_add_swap () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If there's enough space for a swap, and no existing swap here
|
# If there's enough space for a swap, and no existing swap here
|
||||||
|
echo "I'm before"
|
||||||
if [ $swap_size -ne 0 ] && [ ! -e /swap_$app ]
|
if [ $swap_size -ne 0 ] && [ ! -e /swap_$app ]
|
||||||
then
|
then
|
||||||
echo "I'm in !"
|
echo "I'm in !"
|
||||||
|
|
Loading…
Add table
Reference in a new issue