mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-06 05:29:42 +00:00
improved sed -i
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
parent
fc82525ff0
commit
346e760007
|
@ -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"/;
|
||||
|
|
Loading…
Reference in New Issue
Block a user