FreeBSD Bugzilla – Attachment 227150 Details for
Bug 257800
sysutils/amazon-ssm-agent: Fix user creation with pkg -r
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
ssm-user.diff (text/plain), 1.10 KB, created by
Brad Davis
on 2021-08-13 00:01:05 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Brad Davis
Created:
2021-08-13 00:01:05 UTC
Size:
1.10 KB
patch
obsolete
>diff --git a/sysutils/amazon-ssm-agent/Makefile b/sysutils/amazon-ssm-agent/Makefile >index 703a5ba153..7409763f54 100644 >--- a/sysutils/amazon-ssm-agent/Makefile >+++ b/sysutils/amazon-ssm-agent/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= amazon-ssm-agent > PORTVERSION= 2.3.1205.0 >+PORTREVISION= 1 > CATEGORIES= sysutils > > MAINTAINER= cperciva@FreeBSD.org >diff --git a/sysutils/amazon-ssm-agent/pkg-deinstall b/sysutils/amazon-ssm-agent/pkg-deinstall >index 4dded1464e..b28dda276a 100644 >--- a/sysutils/amazon-ssm-agent/pkg-deinstall >+++ b/sysutils/amazon-ssm-agent/pkg-deinstall >@@ -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 >diff --git a/sysutils/amazon-ssm-agent/pkg-install b/sysutils/amazon-ssm-agent/pkg-install >index b71b68827a..f42d5b710f 100644 >--- a/sysutils/amazon-ssm-agent/pkg-install >+++ b/sysutils/amazon-ssm-agent/pkg-install >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257800
: 227150