From 37984f157d85b0ce73ce0a368e49f8e9a790d237 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Fri, 1 Nov 2019 19:12:45 +0100 Subject: [PATCH] Updated swap to fstab --- scripts/system-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system-setup.sh b/scripts/system-setup.sh index 77c1060..e46d718 100644 --- a/scripts/system-setup.sh +++ b/scripts/system-setup.sh @@ -21,7 +21,7 @@ else sudo chmod 600 "$SWAP_FILE" sudo mkswap "$SWAP_FILE" sudo swapon "$SWAP_FILE" - sudo echo "$FSTAB_SWAP_ENTRY">>"$FSTAB_FILE" + sudo sh -c "echo \"$FSTAB_SWAP_ENTRY\">>\"$FSTAB_FILE\"" fi echo "Synchronizing programing language interpreters..." sudo pacman --needed -S jdk11-openjdk python php