change e-smith to smeserver in archivefilename

This commit is contained in:
Trevor Batley 2023-06-13 16:53:39 +10:00
parent ea5551e41f
commit a99d2a59c1

View File

@ -281,7 +281,11 @@ git add "$TARGETPKG.spec"
#Delete archivefilename file if it follows the new standard
if [ -e archivefilename ] ; then
if [ $(cat archivefilename) == "$TARGETPKG-*.tar.gz" ] ; then git rm archivefilename $QUIET ; fi
if [ $(cat archivefilename) == "$TARGETPKG-*.tar.gz" ] ; then
git rm archivefilename $QUIET
else
sed -i "s/e-smith/smeserver/g" archivefilename
fi
fi
#Update createlinks
# - if there is an e-smith-<pkg>-update event rename to smeserver-<pkg>-update and add symlink