xbps-triggers: fix previous; check XBPS_TARGET_ARCH is set.
This commit is contained in:
parent
1cfc05cef3
commit
cc1112fbe7
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ run)
|
||||||
|
|
||||||
HOST_ARCH=$(uname -m)
|
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
|
USERADD=useradd
|
||||||
USERDEL=userdel
|
USERDEL=userdel
|
||||||
GROUPADD=groupadd
|
GROUPADD=groupadd
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.66
|
version=0.67
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="The XBPS triggers for Void Linux"
|
short_desc="The XBPS triggers for Void Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
Loading…
Reference in a new issue