mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
add update fixes for acroread and gnupg; thanks to Erik Hanson for the bug report.
This commit is contained in:
parent
137fee569e
commit
40a7fd25a5
1 changed files with 5 additions and 1 deletions
|
@ -291,6 +291,10 @@ potential updates..." >> $UPDATELIST
|
|||
NEWARCH=$(egrep -m1 "^ARCH" $NEWSB | sed -e 's/[ #}\t].*$//;s/^.*[=-]//;s/\"//g')
|
||||
NEWSRCVER=$(egrep -m1 "^SRCVER" $NEWSB | sed -e 's/[ #}\t].*$//;s/^.*[=-]/_/;s/\"//g')
|
||||
NEWBUILD=$(egrep -m1 "^BUILD" $NEWSB | sed -e 's/^.*[=-]//;s/\"//;s/[ #}\t].*$//g;s/\"//g')
|
||||
# Ugly hack for acroread
|
||||
if [ $PRGNAM = "acroread" ]; then
|
||||
NEWSRCVER=$(egrep -m1 "^ADOBE_LANG" $NEWSB | sed -e 's/[ #}\t].*$//;s/^.*://;s/-/_/g')
|
||||
fi
|
||||
# Ugly hack for openoffice.org
|
||||
if [ $PRGNAM = "openoffice.org" ]; then
|
||||
NEWSRCVER=$(egrep -m1 "^OOLANG" $NEWSB | sed -e 's/[ #}\t].*$//;s/^.*://;s/-/_/g')
|
||||
|
@ -324,7 +328,7 @@ potential updates..." >> $UPDATELIST
|
|||
# Ugly hack for several SlackBuilds that use $SRCVER
|
||||
# but not in the final package name, so we need to
|
||||
# blank out $NEWSRCVER
|
||||
if [[ "$PRGNAM" == "ctorrent" || "$PRGNAM" == "argtable" || "$PRGNAM" == "libevent" || "$PRGNAM" == "graveman" || "$PRGNAM" == "hugin" || "$PRGNAM" == "lame" || "$PRGNAM" == "kchmviewer" || "$PRGNAM" == "aircrack-ng" || "$PRGNAM" == "pygame" ]]; then
|
||||
if [[ "$PRGNAM" == "ctorrent" || "$PRGNAM" == "argtable" || "$PRGNAM" == "libevent" || "$PRGNAM" == "graveman" || "$PRGNAM" == "hugin" || "$PRGNAM" == "lame" || "$PRGNAM" == "kchmviewer" || "$PRGNAM" == "aircrack-ng" || "$PRGNAM" == "pygame" || "$PRGNAM" == "gnubg" ]]; then
|
||||
NEWSRCVER=""
|
||||
fi
|
||||
CURPKG=$(echo $NAME-$VER-$ARCH-$BUILD)
|
||||
|
|
Loading…
Reference in a new issue