Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51C6F197E8 for ; Tue, 12 Apr 2016 12:53:09 +0000 (UTC) Received: (qmail 23244 invoked by uid 500); 12 Apr 2016 12:53:09 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 23213 invoked by uid 500); 12 Apr 2016 12:53:09 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 23201 invoked by uid 99); 12 Apr 2016 12:53:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 12:53:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C1BADE00C5; Tue, 12 Apr 2016 12:53:08 +0000 (UTC) From: m4rkmckenna To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org References: In-Reply-To: Subject: [GitHub] brooklyn-dist pull request: Fix deb package java dependencies Content-Type: text/plain Message-Id: <20160412125308.C1BADE00C5@git1-us-west.apache.org> Date: Tue, 12 Apr 2016 12:53:08 +0000 (UTC) Github user m4rkmckenna commented on a diff in the pull request: https://github.com/apache/brooklyn-dist/pull/33#discussion_r59369611 --- Diff: deb-packaging/src/deb/control/postrm --- @@ -15,4 +15,6 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -/usr/sbin/userdel brooklyn +if /usr/bin/getent passwd brooklyn; then + /usr/sbin/userdel brooklyn --- End diff -- IMO its better to leave the user alone ... what if it had been created before install? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---