Change-Id: Id7b8c746c0a6879292cf8fdcfd4abc5edfd0c7b9
Bug-Tizen: TC-320 TC-1387 TC-288
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
exec su - $USER -c "bash -l -c 'xwalkctl -u $pkgname'"
else
# launch the real pkgcmd binary if we're not installing or uninstalling
- debug exec /usr/bin/pkgcmd.real $ARGS
- exec /usr/bin/pkgcmd.real $ARGS
+ debug exec su - $USER -c "bash -l -c '/usr/bin/pkgcmd.real $ARGS'"
+ exec su - $USER -c "bash -l -c '/usr/bin/pkgcmd.real $ARGS'" | grep -v "^You are not an authorized user"
+
fi