From c958929f88e47e4c96c156dcecab984ece9c3c3b Mon Sep 17 00:00:00 2001 From: Nico Rey Date: Sun, 31 May 2020 18:34:01 -0300 Subject: [PATCH] fix permissions --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 3941f8e..8dbb4ad 100755 --- a/install.sh +++ b/install.sh @@ -181,6 +181,7 @@ fi log_done "Nginx configured" ### Setup ramFS +set +e cat /etc/fstab | grep -q "ramfs" if [ $? -eq 0 ]; then log_done "ramfs already setup" @@ -189,10 +190,9 @@ else cat templates/fstab | sudo tee -a /etc/fstab > /dev/null log_done "Ramfs installed" fi -set +e sudo mount -a -set -e sudo chmod 777 /var/ramfs +set -e success "Install (almost) done!" echo "