mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
sysutils/amazon-ssm-agent: Fix user creation with pkg -r
PR: 257800
Approved by: cperciva (maintainer)
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
PORTNAME= amazon-ssm-agent
|
||||
PORTVERSION= 2.3.1205.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= cperciva@FreeBSD.org
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
if [ "$2" = "DEINSTALL" ]; then
|
||||
echo "Removing ssm-user"
|
||||
pw userdel ssm-user -r
|
||||
pw -R ${PKG_ROOTDIR} userdel ssm-user -r
|
||||
fi
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
if [ "$2" = "POST-INSTALL" ]; then
|
||||
echo "Creating ssm-user for SSM Agent Sessions"
|
||||
pw useradd ssm-user -G wheel -m
|
||||
pw -R ${PKG_ROOTDIR} useradd ssm-user -G wheel -m
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user