diff --git a/srcpkgs/xbps-triggers/files/system-accounts b/srcpkgs/xbps-triggers/files/system-accounts index cbcb140af9b..37647fc729a 100755 --- a/srcpkgs/xbps-triggers/files/system-accounts +++ b/srcpkgs/xbps-triggers/files/system-accounts @@ -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 diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 09a1c1f9cc5..7cf1590bc67 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -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 "