mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-12 21:10:21 +03: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
@ -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 New Issue
Block a user