(From meta-tizen rev:
fa3243950ad3326c6842414fa675fe5a928f0516)
Change-Id: Iada42292d7a7e555a445a78f3171fba2ef9e4b25
Signed-off-by: Baptiste Durand <baptiste.durand@open.eurogiciel.org>
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
### setcap/getcap binary are useful. To use them you must install libcap and libcap-tools packages
### In such case uncomment Requires with those packages
systemctl daemon-reload
- if [ $1 = 1 ]; then
+ if [ $1 == 1 ]; then
systemctl enable cynara.service
fi
chsmack -a System ${localstatedir}/cynara/
pkg_postrm_${PN}() {
#!/bin/sh -e
- if [ $1 = 0 ]; then
+ if [ $1 == 0 ]; then
$D${prefix}/sbin/cynara/cynara-db-migration uninstall -f ${PV}
userdel -r cynara > /dev/null 2>&1
groupdel cynara > /dev/null 2>&1