initramfs-tools: fix a logic error in hook-functions.
--HG-- branch : gnome3
This commit is contained in:
parent
6087d7d8de
commit
71350060db
|
@ -539,9 +539,9 @@ compare_versions()
|
|||
local cmpver_cmd
|
||||
|
||||
if ! command -v xbps-uhelper.static >/dev/null 2>&1; then
|
||||
cmpver_cmd=xbps-uhelper.static
|
||||
else
|
||||
cmpver_cmd=xbps-uhelper
|
||||
else
|
||||
cmpver_cmd=xbps-uhelper.static
|
||||
fi
|
||||
${cmpver_cmd} cmpver $curv $minv
|
||||
if [ $? -eq 0 ] || [ $? -eq 1 ]; then
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'initramfs-tools'
|
||||
pkgname=initramfs-tools
|
||||
_localver=0.99.9 # This is the XBPS version
|
||||
_localver=0.99.10 # This is the XBPS version
|
||||
_distver=0.98.8 # This should match debian version
|
||||
version=${_localver}.${_distver}
|
||||
build_style=custom-install
|
||||
|
|
Loading…
Reference in New Issue
Block a user