Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
[orabos] Drop E from sed, it creates a backup file
Browse files Browse the repository at this point in the history
  • Loading branch information
fwiesel committed Jun 21, 2024
1 parent 8efc26e commit a237f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/orabos/exec.late
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -eufo pipefail

TIMESTAMP_VERSION=$(date +"%Y%m%d%H%M%S" --date="@$TIMESTAMP")
sed -iE "s/PRETTY_NAME=\"Garden Linux \(.*\)\"/PRETTY_NAME=\"Garden Linux \1 (${TIMESTAMP_VERSION})\"/gi" /etc/os-release
sed -i "s/PRETTY_NAME=\"Garden Linux \(.*\)\"/PRETTY_NAME=\"Garden Linux \1 (${TIMESTAMP_VERSION})\"/gi" /etc/os-release

0 comments on commit a237f17

Please sign in to comment.