mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
xbps-triggers: system-accounts: fix removal of system_groups.
This commit is contained in:
parent
e9e29f0f67
commit
ea01ed96fb
2 changed files with 4 additions and 4 deletions
|
@ -139,10 +139,10 @@ run)
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for grp in ${system_groups}; do
|
for grp in ${system_groups}; do
|
||||||
_uname="${acct%:*}"
|
_uname="${grp%:*}"
|
||||||
_uid="${acct#*:}"
|
_uid="${grp#*:}"
|
||||||
if [ -z "$GROUPDEL" ]; then
|
if [ -z "$GROUPDEL" ]; then
|
||||||
echo "WARNING: cannot remove ${acct} system group (missing groupdel)"
|
echo "WARNING: cannot remove ${grp} system group (missing groupdel)"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
groupdel ${_uname} >/dev/null 2>&1
|
groupdel ${_uname} >/dev/null 2>&1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.93
|
version=0.94
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue