1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/sysutils/amazon-ssm-agent/pkg-deinstall
Brad Davis ee4e8a0b36 sysutils/amazon-ssm-agent: Fix user creation with pkg -r
PR:		257800
Approved by:	cperciva (maintainer)
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2021-08-12 19:30:31 -06:00

7 lines
114 B
Bash

#!/bin/sh
if [ "$2" = "DEINSTALL" ]; then
echo "Removing ssm-user"
pw -R ${PKG_ROOTDIR} userdel ssm-user -r
fi