xbps-triggers: fix previous; check XBPS_TARGET_ARCH is set.

This commit is contained in:
Juan RP 2013-04-06 15:01:42 +02:00
parent 1cfc05cef3
commit cc1112fbe7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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>"