tell sed which file

This commit is contained in:
Trevor Batley 2023-06-15 15:09:57 +10:00
parent 913c24a33f
commit bf8e39046a

View File

@ -281,7 +281,7 @@ 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 -e '/^%setup/{n;N;N;N;d}'
sed -i '/^%setup/{n;N;N;N;d}' "$TARGETPKG.spec"
sed -i '/\[SME: 12359\]/a - Remove Source1 & Source2' "$TARGETPKG.spec"
fi
if [[ $TARGETPKG == "smeserver-lib" ]] ; then