Bug 452676 - %pre failure on install of compiz-fusion-extras-gnome-0.7.6-4.fc10.i386
%pre failure on install of compiz-fusion-extras-gnome-0.7.6-4.fc10.i386
Status: CLOSED DUPLICATE of bug 452677
Product: Fedora
Classification: Fedora
Component: compiz-fusion-extras (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Adel Gadllah
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-24 09:47 EDT by Tom London
Modified: 2008-06-24 12:11 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-24 12:11:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tom London 2008-06-24 09:47:39 EDT
Description of problem:

Similar problem with compiz-fusion-gnome
(https://bugzilla.redhat.com/show_bug.cgi?id=452674)

/var/tmp/rpm-tmp.78366: line 5: syntax error near unexpected token `do'
/var/tmp/rpm-tmp.78366: line 5: `	do echo /etc/gconf/schemas/compiz-${p}.schemas
; done \'
error: %pre(compiz-fusion-extras-gnome-0.7.6-4.fc10.i386) scriptlet failed, exit
status 2
error:   install: %pre scriptlet failed (2), skipping
compiz-fusion-extras-gnome-0.7.6-4.fc10


Version-Release number of selected component (if applicable):
compiz-fusion-extras-gnome-0.7.6-4.fc10.i386

How reproducible:
Every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Tom London 2008-06-24 09:50:43 EDT
Double 'do' in both %pre and %post at: at end of 'for' and beginning of next line.

[root@localhost packages]# rpm -q --package --scripts
compiz-fusion-extras-gnome-0.7.6-4.fc10.i386.rpm
preinstall scriptlet (using /bin/sh):
if [ "$1" -gt 1 ]; then
  export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`

  for p in in 3d addhelper bench bicubic crashhandler cubeaddon extrawm
fadedesktop firepaint gears group loginout maximumize mblur notification reflex
scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget; do
	do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \
	| xargs /usr/bin/gconftool-2 --makefile-uninstall-rule >& /dev/null || :

fi
postinstall scriptlet (using /bin/sh):
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`

for p in in 3d addhelper bench bicubic crashhandler cubeaddon extrawm
fadedesktop firepaint gears group loginout maximumize mblur notification reflex
scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget; do
do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \
	| xargs /usr/bin/gconftool-2 --makefile-install-rule >& /dev/null || :
preuninstall scriptlet (using /bin/sh):
if [ "$1" -eq 0 ]; then
  export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`

  for p in in 3d addhelper bench bicubic crashhandler cubeaddon extrawm
fadedesktop firepaint gears group loginout maximumize mblur notification reflex
scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget; do
	do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \
	| xargs /usr/bin/gconftool-2 --makefile-uninstall-rule >& /dev/null || :
  
fi
[root@localhost packages]# 
Comment 2 Adel Gadllah 2008-06-24 12:11:28 EDT

*** This bug has been marked as a duplicate of 452677 ***

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