square brackets

This commit is contained in:
Trevor Batley 2023-06-15 14:29:36 +10:00
parent a0fe5dd71d
commit 3094498fc6

View File

@ -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