summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Durand <baptiste.durand@open.eurogiciel.org>2015-04-23 14:32:28 +0200
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>2015-06-16 14:31:25 +0200
commit3b6f0dc22ee2674f67e11260302aa0ba5cd25a84 (patch)
treeeea8b631dac71fc33d7be74290c2ffdb81d06674
parentb7b8ea93a0357125b35f4071285cab423dd8cb74 (diff)
downloadmeta-tizen-3b6f0dc22ee2674f67e11260302aa0ba5cd25a84.tar.gz
meta-tizen-3b6f0dc22ee2674f67e11260302aa0ba5cd25a84.tar.bz2
meta-tizen-3b6f0dc22ee2674f67e11260302aa0ba5cd25a84.zip
Fix package cynara-db-migration generation
Change-Id: I38a25244c5d26c3b3898f56cc0eca392f12d0910 Signed-off-by: Baptiste Durand <baptiste.durand@open.eurogiciel.org>
-rw-r--r--meta-tizen-common-base/recipes-security/cynara/cynara.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-tizen-common-base/recipes-security/cynara/cynara.inc b/meta-tizen-common-base/recipes-security/cynara/cynara.inc
index 0680daee..ab659f9c 100644
--- a/meta-tizen-common-base/recipes-security/cynara/cynara.inc
+++ b/meta-tizen-common-base/recipes-security/cynara/cynara.inc
@@ -235,9 +235,9 @@ pkg_preinst_${PN}() {
fi
if [ $1 -gt 1 ] ; then
OLDVERSION="$(rpm -q --qf '%{version}' cynara)"
- $D${prefix}/sbin/cynara/cynara-db-migration.sh upgrade -f 0.0.0 -t ${PV}
+ $D${prefix}/sbin/cynara/cynara-db-migration upgrade -f 0.0.0 -t ${PV}
else
- $D${prefix}/sbin/cynara/cynara-db-migration.sh install -t ${PV}
+ $D${prefix}/sbin/cynara/cynara-db-migration install -t ${PV}
fi
}
@@ -343,7 +343,7 @@ pkg_postrm_${PN}() {
#!/bin/sh -e
if [ $1 = 0 ]; then
- $D${prefix}/sbin/cynara/cynara-db-migration.sh uninstall -f ${PV}
+ $D${prefix}/sbin/cynara/cynara-db-migration uninstall -f ${PV}
userdel -r cynara > /dev/null 2>&1
groupdel cynara > /dev/null 2>&1
systemctl daemon-reload
@@ -413,8 +413,8 @@ libcynara-creds-dbus_files += "${prefix}/lib/libcynara-creds-dbus.so.*"
MANIFESTFILES_lib${PN}-creds-dbus = "libcynara-creds-dbus.manifest"
cynara-db-migration_files = ""
-cynara-db-migration_files += "${prefix}/sbin/cynara/cynara-db-migration.sh"
-cynara-db-migration_files += "${prefix}/sbin/cynara/cynara-db-chsgen.sh"
+cynara-db-migration_files += "${prefix}/sbin/cynara-db-migration"
+cynara-db-migration_files += "${prefix}/sbin/cynara-db-chsgen"
MANIFESTFILES_${PN}-db-migration = "cynara-db-migration.manifest"
cynara-dev_files = ""