From 11503a02909c20fc70e27cfe0116fd02bb6682a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Gon=C3=A7alves?= Date: Sun, 12 May 2024 15:13:32 -0300 Subject: [PATCH] Fix to fstab zstd:9 --- usr/bin/grub-fix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/grub-fix.sh b/usr/bin/grub-fix.sh index aaacda0f..3929d03b 100755 --- a/usr/bin/grub-fix.sh +++ b/usr/bin/grub-fix.sh @@ -26,8 +26,8 @@ Session=/usr/share/xsessions/plasma-biglinux-x11.desktop" > $(echo "$*" | sed 's sed -i "s|Session=plasma.desktop|Session=plasma-biglinux-x11.desktop|g" $(echo "$*" | sed 's|etc/default/grub|etc/sddm.conf|g') -# use compress-force=zstd:5 in /git -sed -i 's|subvol=/@,defaults,noatime,compress=zstd|subvol=/@,defaults,noatime,compress-force=zstd:5|g' $(echo "$*" | sed 's|etc/default/grub|/etc/fstab|g') +# use compress-force=zstd:5 in / and not number in all other +sed -i -e '/\s\/\s/ s/zstd:9/zstd:5/' -e '/\s\/\s/! s/zstd:9/zstd/' $(echo "$*" | sed 's|etc/default/grub|/etc/fstab|g') # Save default KDE configuration