1
0
Fork 0
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:
Limezy 2022-06-05 16:58:30 +07:00
parent 38cf9c5d9a
commit ccf4c09a4d

View file

@ -48,7 +48,7 @@ ynh_add_swap () {
echo $swap_size echo $swap_size
echo $() echo $()
# 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
if [[ $swap_size -ne 0 ]] && [[ ! -e /swap_$app ]] if [[ $swap_size -ne 0 ]] #&& [[ ! -e /swap_$app ]]
then then
echo "OK ici" echo "OK ici"
# Create file # Create file