tell sed which file
This commit is contained in:
parent
913c24a33f
commit
bf8e39046a
@ -281,7 +281,7 @@ sed -i "/%description/i Provides: $SOURCEPKG" "$TARGETPKG.spec"
|
|||||||
if [[ $TARGETPKG == "smeserver-grub" ]] ; then
|
if [[ $TARGETPKG == "smeserver-grub" ]] ; then
|
||||||
sed -i '/^Source1:/d' "$TARGETPKG.spec"
|
sed -i '/^Source1:/d' "$TARGETPKG.spec"
|
||||||
sed -i '/^Source2:/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"
|
sed -i '/\[SME: 12359\]/a - Remove Source1 & Source2' "$TARGETPKG.spec"
|
||||||
fi
|
fi
|
||||||
if [[ $TARGETPKG == "smeserver-lib" ]] ; then
|
if [[ $TARGETPKG == "smeserver-lib" ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user