1. create directory which is required to run the wrt_commons_reset_db.sh script in %post
2. fix debian style scriptlets status checking to rpm style
--- /dev/null
+* Wed June 06 2012 Yan Yin <yan.yin@intel.com> - 0.2.25
+- create directory which is required to run the wrt_commons_reset_db.sh script in %post
+- fix debian style scriptlets status checking to rpm style
rm -rf %{buildroot}
%post
rm -rf %{buildroot}
%post
echo "This is new install of wrt-commons"
echo "Calling /usr/bin/wrt_commons_reset_db.sh"
echo "This is new install of wrt-commons"
echo "Calling /usr/bin/wrt_commons_reset_db.sh"
+ mkdir -p /opt/apps/widget/
/usr/bin/wrt_commons_reset_db.sh
else
# Find out old and new version of databases
/usr/bin/wrt_commons_reset_db.sh
else
# Find out old and new version of databases