fix archivefilename
This commit is contained in:
parent
e3f3040073
commit
8f8632e65e
@ -280,11 +280,15 @@ sed -i "/^Source:/ s/tar.xz/tar.gz/" "$TARGETPKG.spec"
|
|||||||
git add "$TARGETPKG.spec"
|
git add "$TARGETPKG.spec"
|
||||||
|
|
||||||
#Delete archivefilename file if it follows the new standard
|
#Delete archivefilename file if it follows the new standard
|
||||||
if [ -e archivefilename ] ; then
|
if [[ -e archivefilename ]] ; then
|
||||||
if [ $(cat archivefilename) == "$TARGETPKG-*.tar.gz" ] ; then
|
if [ $DEBUG ] ; then echo "archivefilename exists" ; fi
|
||||||
|
if [[ $(cat archivefilename) == "$TARGETPKG-*.tar.gz" ]] ; then
|
||||||
|
if [ $DEBUG ] ; then echo "deleteing archivefilename - meets new standard" ; fi
|
||||||
git rm archivefilename $QUIET
|
git rm archivefilename $QUIET
|
||||||
else
|
else
|
||||||
|
if [ $DEBUG ] ; then echo "substituting smeserver for e-smith in archivefilename" ; fi
|
||||||
sed -i 's/e-smith/smeserver/g' archivefilename
|
sed -i 's/e-smith/smeserver/g' archivefilename
|
||||||
|
git add archivefilename
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#Update createlinks
|
#Update createlinks
|
||||||
|
Loading…
Reference in New Issue
Block a user