Replace pkg_info call by pkg_initdb call 64/27964/1 accepted/tizen/ivi/20140925.212647 submit/tizen_ivi/20140924.063121 submit/tizen_ivi/20140924.150732
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Tue, 23 Sep 2014 14:05:26 +0000 (16:05 +0200)
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Tue, 23 Sep 2014 14:06:16 +0000 (16:06 +0200)
Revert partially the changes : 7981adae8c223cc2f06df3c21ae8be2216795af5

Fix TC-1643

Change-Id: I856b10dc854c8a39438747a0a41879a791339c4d
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
packaging/ico-uxf-homescreen.spec

index a122d9c..be7cb47 100644 (file)
@@ -116,19 +116,9 @@ cp tool/notification/ico_send_notification2 %{buildroot}%{_bindir}
 
 %post
 /sbin/ldconfig
-
-# Update the app database.
-%{_bindir}/pkginfo --imd %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.homescreen.xml
-%{_bindir}/pkginfo --imd %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.statusbar.xml
-%{_bindir}/pkginfo --imd %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.system-controller.xml
-%{_bindir}/pkginfo --imd %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.onscreen.xml
-
-%preun
 # Update the app database.
-%{_bindir}/pkginfo --rmd %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.homescreen.xml
-%{_bindir}/pkginfo --rmd %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.statusbar.xml
-%{_bindir}/pkginfo --rmd %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.system-controller.xml
-%{_bindir}/pkginfo --rmd %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.onscreen.xml
+%{_bindir}/pkg_initdb
+%{_bindir}/ail_initdb
 
 %postun
 /sbin/ldconfig
@@ -136,6 +126,8 @@ rm -f %{TZ_SYS_RW_DESKTOP_APP}/org.tizen.ico.homescreen.desktop
 rm -f %{TZ_SYS_RW_DESKTOP_APP}/org.tizen.ico.statusbar.desktop
 rm -f %{TZ_SYS_RW_DESKTOP_APP}/org.tizen.ico.onscreen.desktop
 rm -f %{TZ_SYS_RW_DESKTOP_APP}/org.tizen.ico.system-controller.desktop
+%{_bindir}/pkg_initdb
+%{_bindir}/ail_initdb
 
 %files
 %manifest %{name}.manifest