Adjust sed command for clarity.

snap-tool-base-none
Steve Langasek 6 years ago
parent 79e3123053
commit f4fa240ed7

3
debian/changelog vendored

@ -12,6 +12,9 @@ livecd-rootfs (2.577) UNRELEASED; urgency=medium
when invoked. when invoked.
- Install lxd snap in unminimize. - Install lxd snap in unminimize.
[ Steve Langasek ]
* Adjust sed command for clarity.
-- Tobias Koch <tobias.koch@canonical.com> Thu, 11 Apr 2019 17:25:25 +0200 -- Tobias Koch <tobias.koch@canonical.com> Thu, 11 Apr 2019 17:25:25 +0200
livecd-rootfs (2.576) disco; urgency=medium livecd-rootfs (2.576) disco; urgency=medium

@ -448,7 +448,7 @@ _snap_post_process() {
# Remove snap, assertions and entry in seed.yaml # Remove snap, assertions and entry in seed.yaml
rm -f ${snaps_dir}/snapd_[0-9]*.snap rm -f ${snaps_dir}/snapd_[0-9]*.snap
rm -f ${assertions_dir}/snapd_[0-9]*.assert 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 fi
;; ;;
*) *)

Loading…
Cancel
Save