From f4fa240ed7a43ed927634d5829812e37955d4b4c Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Fri, 12 Apr 2019 13:34:54 -0700 Subject: [PATCH] Adjust sed command for clarity. --- debian/changelog | 3 +++ live-build/functions | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4a3d9fbf..670a8f10 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,9 @@ livecd-rootfs (2.577) UNRELEASED; urgency=medium when invoked. - Install lxd snap in unminimize. + [ Steve Langasek ] + * Adjust sed command for clarity. + -- Tobias Koch Thu, 11 Apr 2019 17:25:25 +0200 livecd-rootfs (2.576) disco; urgency=medium diff --git a/live-build/functions b/live-build/functions index ad6eca72..fe766d72 100644 --- a/live-build/functions +++ b/live-build/functions @@ -448,7 +448,7 @@ _snap_post_process() { # Remove snap, assertions and entry in seed.yaml rm -f ${snaps_dir}/snapd_[0-9]*.snap rm -f ${assertions_dir}/snapd_[0-9]*.assert - sed --in-place -E 'N;/name: snapd/,+2d' $seed_yaml + sed -i -e'/name: snapd/,+2d' $seed_yaml fi ;; *)