mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
add openarena hack; I guess these hacks are, for now, the easiest way to deal with the few slackbuilds that change the version number or include an svn snapshot or, like openoffice.org, add in the language to the package name string
This commit is contained in:
parent
0e6c1c9f43
commit
ab24a6a0ff
1 changed files with 4 additions and 0 deletions
|
@ -217,6 +217,10 @@ potential updates..." >> $UPDATELIST
|
|||
if [ $PRGNAM = "openoffice.org" ]; then
|
||||
NEWSRCVER=$(egrep -m1 "^OOLANG" $NEWSB | sed -e 's/[ #}\t].*$//;s/^.*://;s/-/_/g')
|
||||
fi
|
||||
# Ugly hack for openarena ... is there a trend here? :-)
|
||||
if [ $PRGNAM = "openarena" ]; then
|
||||
VERSION=$(egrep -m1 "^FINAL_VERSION" $NEWSB | sed -e 's/[ #}\t].*$//;s/^.*-//;s/\"//g')
|
||||
fi
|
||||
NEWBUILD=$(egrep -m1 "^BUILD" $NEWSB | sed -e 's/^.*[=-]//;s/\"//;s/[ #}\t].*$//g')
|
||||
if [[ $VERSION$NEWSRCVER-$NEWARCH-$NEWBUILD > $VER-$ARCH-$BUILD ]]; then
|
||||
echo $NAME: >> $UPDATELIST
|
||||
|
|
Loading…
Reference in a new issue