diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index 702bab7..f6b79de 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -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--update event rename to smeserver--update and add symlink