Skip to content

Commit

Permalink
Update fulloto.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yuceltoluyag authored Aug 3, 2024
1 parent 05e7e5f commit 9b94eb0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fulloto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,12 @@ mount_existing_partitions() {
mount "${disk}3" /mnt
mkdir -p /mnt/boot
mount "${disk}1" /mnt/boot
swapon "${disk}2"

if ! swapon --show | grep -q "${disk}2"; then
swapon "${disk}2"
else
print "Swap bölümü zaten etkin durumda, atlanıyor."
fi
}

run_arch_chroot() {
Expand Down

0 comments on commit 9b94eb0

Please sign in to comment.