From 3094498fc607cfcef1fb2b35d025d6f457196d58 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Thu, 15 Jun 2023 14:29:36 +1000 Subject: [PATCH] square brackets --- rename-e-smith-pkg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index db5af03..c7caa0a 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -281,11 +281,11 @@ sed -i "/%description/i Provides: $SOURCEPKG" "$TARGETPKG.spec" if [[ $TARGETPKG == "smeserver-grub" ]] ; then sed -i '/Source1:/d' "$TARGETPKG.spec" sed -i '/Source2:/d' "$TARGETPKG.spec" - sed -i '/[SME: 12359]/i - Remove Source1 & Source2' "$TARGETPKG.spec" + sed -i '/SME: 12359/i - Remove Source1 & Source2' "$TARGETPKG.spec" fi if [[ $TARGETPKG == "smeserver-lib" ]] ; then sed -i '/mkdir *e-smith-lib-update/d' "$TARGETPKG.spec" - sed -i '/[SME: 12359]/i - Remove create e-smith-lib-update event' "$TARGETPKG.spec" + sed -i '/SME: 12359/i - Remove create e-smith-lib-update event' "$TARGETPKG.spec" fi # tell git about the changes