xbps-triggers: fix previous; check XBPS_TARGET_ARCH is set.
This commit is contained in:
parent
1cfc05cef3
commit
cc1112fbe7
|
@ -61,7 +61,7 @@ run)
|
|||
|
||||
HOST_ARCH=$(uname -m)
|
||||
|
||||
if [ "$XBPS_TARGET_ARCH" != "$HOST_ARCH" ]; then
|
||||
if [ -n "$XBPS_TARGET_ARCH" -a "$XBPS_TARGET_ARCH" != "$HOST_ARCH" ]; then
|
||||
USERADD=useradd
|
||||
USERDEL=userdel
|
||||
GROUPADD=groupadd
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.66
|
||||
version=0.67
|
||||
revision=1
|
||||
short_desc="The XBPS triggers for Void Linux"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
|
Loading…
Reference in New Issue