From: Stephane Desneux Date: Wed, 25 Feb 2015 08:51:12 +0000 (+0100) Subject: packaging: fix invocation of usermod in post-install X-Git-Tag: submit/tizen_common/20150225.091507^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F35839%2F1;p=sdk%2Ftarget%2Fsdbd.git packaging: fix invocation of usermod in post-install Change-Id: I6e6716e157356319be8ec40b77701de10eea17d0 Signed-off-by: Stephane Desneux --- diff --git a/packaging/sdbd.spec b/packaging/sdbd.spec index 700451e..f444bc3 100644 --- a/packaging/sdbd.spec +++ b/packaging/sdbd.spec @@ -54,7 +54,7 @@ if ! getent passwd "${TZ_SDK_USER_NAME}" > /dev/null; then useradd -u 5100 -s /bin/false -m -d "${TZ_SDK_HOME}" "${TZ_SDK_USER_NAME}" getent group developer > /dev/null || groupadd -g 5100 developer for x in app_logging crash developer; do - usermod -a -G app_logging "${TZ_SDK_USER_NAME}" + usermod -A app_logging "${TZ_SDK_USER_NAME}" done fi