Updated swap to fstab

This commit is contained in:
Kevin Veen-Birkenbach 2019-11-01 19:12:45 +01:00
parent 7337678e23
commit 37984f157d

View File

@ -21,7 +21,7 @@ else
sudo chmod 600 "$SWAP_FILE" sudo chmod 600 "$SWAP_FILE"
sudo mkswap "$SWAP_FILE" sudo mkswap "$SWAP_FILE"
sudo swapon "$SWAP_FILE" sudo swapon "$SWAP_FILE"
sudo echo "$FSTAB_SWAP_ENTRY">>"$FSTAB_FILE" sudo sh -c "echo \"$FSTAB_SWAP_ENTRY\">>\"$FSTAB_FILE\""
fi fi
echo "Synchronizing programing language interpreters..." echo "Synchronizing programing language interpreters..."
sudo pacman --needed -S jdk11-openjdk python php sudo pacman --needed -S jdk11-openjdk python php