From 346e76000745592bc80ec4cb517f0586b1beabb0 Mon Sep 17 00:00:00 2001 From: leventbesli Date: Sun, 6 Oct 2024 14:22:50 +0300 Subject: [PATCH] improved sed -i Co-authored-by: Adam Perkowski --- core/tabs/system-setup/fedora/fedora-btrfs-assistant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tabs/system-setup/fedora/fedora-btrfs-assistant.sh b/core/tabs/system-setup/fedora/fedora-btrfs-assistant.sh index 902e5c98..8e0f48e0 100644 --- a/core/tabs/system-setup/fedora/fedora-btrfs-assistant.sh +++ b/core/tabs/system-setup/fedora/fedora-btrfs-assistant.sh @@ -52,7 +52,7 @@ configureSnapper() { s/^TIMELINE_LIMIT_YEARLY="[^"]*"/TIMELINE_LIMIT_YEARLY="0"/ ' /etc/snapper/configs/root # Modifyling default timeline for home config - "$ESCALATION_TOOL" sed -i ' + "$ESCALATION_TOOL" sed -i'' ' s/^TIMELINE_LIMIT_HOURLY="[^"]*"/TIMELINE_LIMIT_HOURLY="2"/; s/^TIMELINE_LIMIT_DAILY="[^"]*"/TIMELINE_LIMIT_DAILY="1"/; s/^TIMELINE_LIMIT_WEEKLY="[^"]*"/TIMELINE_LIMIT_WEEKLY="0"/;