Skip to content

Commit

Permalink
use correct swap on ext4 when encrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaechus authored Jan 2, 2022
1 parent 2953ca1 commit dbb247d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ my_swap="/dev/mapper/swap"
if [[ $encrypted == "n" ]]; then
my_root=$part3
my_swap=$part2
[[ $my_fs == "ext4" ]] && my_root=$part2 && my_swap="/dev/MyVolGrp/swap"
[[ $my_fs == "ext4" ]] && my_root=$part2
else
cryptpass=$(confirm_password "encryption password")
fi
[[ $my_fs == "ext4" ]] && my_swap="/dev/MyVolGrp/swap"

# Timezone
until [[ -f /usr/share/zoneinfo/$region_city ]]; do
Expand Down

0 comments on commit dbb247d

Please sign in to comment.