ports/www/p5-FCGI-Spawn/pkg-deinstall
2021-04-06 16:31:13 +02:00

14 lines
252 B
Bash

#!/bin/sh
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=fcgi
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete user permanently, use 'pw userdel ${USER}'. Also, unused groups of that user should be deleted, too"
fi
exit 0