xbps-triggers: system-accounts: fix removal of system_groups.

This commit is contained in:
Juan RP 2015-04-30 11:09:10 +02:00
parent e9e29f0f67
commit ea01ed96fb
2 changed files with 4 additions and 4 deletions

View file

@ -139,10 +139,10 @@ run)
fi
done
for grp in ${system_groups}; do
_uname="${acct%:*}"
_uid="${acct#*:}"
_uname="${grp%:*}"
_uid="${grp#*:}"
if [ -z "$GROUPDEL" ]; then
echo "WARNING: cannot remove ${acct} system group (missing groupdel)"
echo "WARNING: cannot remove ${grp} system group (missing groupdel)"
continue
fi
groupdel ${_uname} >/dev/null 2>&1

View file

@ -1,6 +1,6 @@
# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.93
version=0.94
revision=1
noarch=yes
bootstrap=yes