Update Build Script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-04-12 15:36:51 +07:00
parent 33774b0fcf
commit 3386a60562
2 changed files with 12 additions and 12 deletions

View file

@ -87,7 +87,7 @@ for dir in \
# The real build starts here
sh ${package}.SlackBuild || exit 1
if [ "$INST" = "1" ]; then
PACKAGE="${package}-$version-${build}*.txz"
PACKAGE="${package}-$version-*-${build}*.txz"
if [ -f $TMP/$PACKAGE ]; then
upgradepkg --install-new --reinstall $TMP/$PACKAGE
else

View file

@ -101,7 +101,7 @@ for dir in \
# The real build starts here
sh ${package}.SlackBuild || exit 1
if [ "$INST" = "1" ]; then
PACKAGE="${package}-$version-${build}*.txz"
PACKAGE="${package}-$version-*-${build}*.txz"
if [ -f $TMP/$PACKAGE ]; then
upgradepkg --install-new --reinstall $TMP/$PACKAGE
else