Fix packInstall.sh.porg for upower-vx.x
This commit is contained in:
parent
327a3ee7ba
commit
c412a07545
2 changed files with 2 additions and 1 deletions
1
jhalfs
1
jhalfs
|
@ -357,6 +357,7 @@ if [[ "$REBUILD_MAKEFILE" = "n" ]] ; then
|
||||||
|
|
||||||
# Copy needed stylesheets
|
# Copy needed stylesheets
|
||||||
cp "$COMMON_DIR"/{packages.xsl,chroot.xsl,kernfs.xsl} "$JHALFSDIR/"
|
cp "$COMMON_DIR"/{packages.xsl,chroot.xsl,kernfs.xsl} "$JHALFSDIR/"
|
||||||
|
cp "$PACKAGE_DIR/$XSL" "$JHALFSDIR/"
|
||||||
|
|
||||||
export XSL=$JHALFSDIR/${XSL}
|
export XSL=$JHALFSDIR/${XSL}
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ case $1 in
|
||||||
local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent
|
local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent
|
||||||
VERSION=$(sed -n 's/.*x265[^0-9]*\([^"]*\).*/\1/p' $PACKENT)
|
VERSION=$(sed -n 's/.*x265[^0-9]*\([^"]*\).*/\1/p' $PACKENT)
|
||||||
;;
|
;;
|
||||||
libuv*|Test-MockModule*) # can contain -vd.d or just -d.d
|
libuv*|Test-MockModule*|upower*) # can contain -vd.d or just -d.d
|
||||||
VERSION=$(echo $1 | sed 's/^.*[v-]//')
|
VERSION=$(echo $1 | sed 's/^.*[v-]//')
|
||||||
;;
|
;;
|
||||||
junit*|inih*) # can contain -rd.d or just -d.d
|
junit*|inih*) # can contain -rd.d or just -d.d
|
||||||
|
|
Reference in a new issue