4 local RPM_INSTALL_PREFIX
='opt'
6 ( ### ooo-dev3-dict-de-DE-3.4.0-9583.i586.rpm postin
8 if [ -x "$RPM_INSTALL_PREFIX/ooo-dev3/program/unopkg" ]; then
9 "$RPM_INSTALL_PREFIX/ooo-dev3/program/unopkg" sync
10 if [ "$?" != "0" ]; then
11 echo "ERROR: Registration of extensions failed!"
14 echo "SUCCESS: unopkg returns successful!"
16 find "$RPM_INSTALL_PREFIX/ooo-dev3/share/prereg/bundled" -type f
-exec chmod 644 {} \
;
25 local RPM_INSTALL_PREFIX
='opt'
27 ( ### ooo-dev3-dict-de-DE-3.4.0-9583.i586.rpm postun
29 if [ -x "$RPM_INSTALL_PREFIX/ooo-dev3/program/unopkg" ]; then
30 "$RPM_INSTALL_PREFIX/ooo-dev3/program/unopkg" sync
31 if [ "$?" != "0" ]; then
32 echo "ERROR: Registration of extensions failed!"
35 echo "SUCCESS: unopkg returns successful!"
37 find "$RPM_INSTALL_PREFIX/ooo-dev3/share/prereg/bundled" -type f
-exec chmod 644 {} \
;
45 ## arg 1: the new package version
46 ## arg 2: the old package version
51 # vim:set ts=2 sw=2 et: