From 57b74c9ec51434e53a4b47a175173bb33ec96055 Mon Sep 17 00:00:00 2001 From: abeudin Date: Mon, 28 Dec 2015 12:28:05 +0100 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e8b2512..b776a15 100644 --- a/scripts/install +++ b/scripts/install @@ -69,7 +69,7 @@ sudo sed -i "s/yunobase/$db_user/g" $final_path/syncserver.ini cd $final_path && sudo make build && sudo ./local/bin/easy_install gunicorn # Disable swapfile -if [ -f $tmp_swap_file ] || [ -z "$tmp_swap_file" ]; +if [ -z "$tmp_swap_file" ]; then sudo swapoff $tmp_swap_file sudo rm -f $tmp_swap_file