Bug 2620 - typo in %postun
: typo in %postun
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/stardict)
: unstable
: all Linux
: P5 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-05-28 13:35 by
Modified: 2008-07-25 22:23 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-05-28 13:35:17
Look at the last line. \'r\' is missing.

# rpm -q stardict 
stardict-2.1.0-alt1
# rpm -q stardict --scripts
postinstall scriptlet (through /bin/sh):
[ -x /usr/bin/update-menus ] && /usr/bin/update-menus ||:
[ -x /usr/bin/scrollkeeper-update ] && /usr/bin/scrollkeeper-update ||:

export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` 
for S in  stardict; do 
    /usr/bin/gconftool-2 --makefile-install-rule \"/etc/gconf/schemas/$S.schemas\" >/dev/null 
done
postuninstall scriptlet (through /bin/sh):
[ \"$1\" = 0 -a -x /usr/bin/update-menus ] && /usr/bin/update-menus ||:
%clean_scrollkeepe
# 

---
Executing RPM (/bin/rpm -Uvh --fancypercent --oldpackage)...
Preparing...                                                          ################################################################################################### [100%]
1: stardict-tools                                                     ################################################################################################### [ 20%]
2: stardict                                                           ################################################################################################### [ 40%]
Registering /usr/share/omf/stardict/stardict-ru.omf
Registering /usr/share/omf/stardict/stardict-zh_CN.omf
OMF file [/usr/share/omf/gnome-utils/gfloppy-ja.omf] does not validate against ScrollKeeper-OMF DTD: /usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd
Unable to register /usr/share/omf/gnome-utils/gfloppy-ja.omf
Updating /usr/share/omf/stardict/stardict-C.omf
WARNING: Failed to parse default value `\' for schema (/schemas/apps/stardict/preferences/main_window/search_website_list)
WARNING: Failed to parse default value `\' for schema (/schemas/apps/stardict/manage_dictionaries/dict_order_list)
WARNING: Failed to parse default value `\' for schema (/schemas/apps/stardict/manage_dictionaries/dict_disable_list)
/root/tmp/rpm-tmp.1189: line 2: fg: no job control
error: execution of %postun scriptlet from stardict-2.0.0-alt1 failed, exit status 1

---

------- Comment #1 From 2003-05-28 13:49:01 -------
Thanks
Fixed
------- Comment #2 From 2003-05-28 13:49:01 -------
Thanks
Fixed
------- Comment #3 From 2008-07-25 22:23:09 -------
Yes, I haven't noticed such errors on recent updates.