mirror of
https://github.com/sbopkg/sbopkg
synced 2025-02-05 08:46:34 +01:00
hopefully fix ubuntulooks correctly this time (plus try to check in this commit a second time, not sure why the first didn't take)
This commit is contained in:
parent
3ffa7cba83
commit
336b18dddc
1 changed files with 13 additions and 1 deletions
|
@ -297,10 +297,22 @@ potential updates..." >> $UPDATELIST
|
||||||
VERSION=$(echo $VERSION | sed -e 's/[ #}\t].*$//;s/^.*://;s/-/./g')
|
VERSION=$(echo $VERSION | sed -e 's/[ #}\t].*$//;s/^.*://;s/-/./g')
|
||||||
NEWSRCVER=""
|
NEWSRCVER=""
|
||||||
fi
|
fi
|
||||||
|
# It took me a lot longer than I would like to admit to
|
||||||
|
# figure out why 0.9.12_8 is greater than 0.9.12_12. This
|
||||||
|
# ugly hack for ubuntulooks is one attempt to fix decimal
|
||||||
|
# type problem, otherwise sbopkg thinks the installed
|
||||||
|
# version is newer than the repo.
|
||||||
|
if [ "$PRGNAM" = "ubuntulooks" ]; then
|
||||||
|
MINIVER=$(echo $VER | sed -e 's/^.*_//') | wc -m)
|
||||||
|
if [ $MINIVER -le 2 ]; then
|
||||||
|
VER=$(echo $VER | sed -e 's/_/_0/')
|
||||||
|
fi
|
||||||
|
NEWSRCVER=""
|
||||||
|
fi
|
||||||
# Ugly hack for several SlackBuilds that use $SRCVER
|
# Ugly hack for several SlackBuilds that use $SRCVER
|
||||||
# but not in the final package name, so we need to
|
# but not in the final package name, so we need to
|
||||||
# blank out $NEWSRCVER
|
# blank out $NEWSRCVER
|
||||||
if [[ "$PRGNAM" == "ctorrent" || "$PRGNAM" == "argtable" || "$PRGNAM" == "libevent" || "$PRGNAM" == "ubuntulooks" || "$PRGNAM" == "graveman" || "$PRGNAM" == "hugin" || "$PRGNAM" == "lame" || "$PRGNAM" == "kchmviewer" ]]; then
|
if [[ "$PRGNAM" == "ctorrent" || "$PRGNAM" == "argtable" || "$PRGNAM" == "libevent" || "$PRGNAM" == "graveman" || "$PRGNAM" == "hugin" || "$PRGNAM" == "lame" || "$PRGNAM" == "kchmviewer" ]]; then
|
||||||
NEWSRCVER=""
|
NEWSRCVER=""
|
||||||
fi
|
fi
|
||||||
CURPKG=$(echo $NAME-$VER-$ARCH-$BUILD)
|
CURPKG=$(echo $NAME-$VER-$ARCH-$BUILD)
|
||||||
|
|
Loading…
Add table
Reference in a new issue