blob: e36d3bff92227ac216374abf795a8a7d4485d3d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
USER=%%AMAVISUSER%%
GROUP=%%AMAVISGROUP%%
if [ "$2" = "POST-DEINSTALL" ]; then
if /usr/sbin/pw group show "${GROUP}" 2>&1 >/dev/null; then
echo "You should manually remove the \"${GROUP}\" group."
fi
if /usr/sbin/pw user show "${USER}" 2>&1 >/dev/null; then
echo "You should manually remove the \"${USER}\" user."
fi
fi
|