Subversion Repositories livecd

Rev

Rev 234 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 234 Rev 239
Line 462... Line 462...
462
    if [ "$?" != "0" ]; then
462
    if [ "$?" != "0" ]; then
463
	echo "StartupNotify=false" >> /etc/skel/.kde/Autostart/Autorun.desktop
463
	echo "StartupNotify=false" >> /etc/skel/.kde/Autostart/Autorun.desktop
464
    fi
464
    fi
465
fi
465
fi
466
 
466
 
467
### make thunderbird the default mail application in gnome, if evolution is not installed
467
### make thunderbird the default mail application in launchmail, if evolution is not installed
-
 
468
#   (I don't like launchmail )
468
rpm -q evolution >/dev/null 2>&1
469
rpm -q evolution >/dev/null 2>&1
469
if [ "$?" = "1" ]; then
470
if [ "$?" = "1" ]; then
470
    rpm -q thunderbird >/dev/null 2>&1
471
    rpm -q thunderbird >/dev/null 2>&1
471
    if [ "$?" = "0" ]; then
472
    if [ "$?" = "0" ]; then
472
	[ -e /etc/gconf/gconf.xml.defaults/%gconf-tree.xml ] && \
473
	if [ ! -L /usr/bin/launchmail ]; then
473
        sed -i.ori "s|evolution --component=mail|thunderbird -compose|" \
-
 
474
        /etc/gconf/gconf.xml.defaults/%gconf-tree.xml
474
	    mv /usr/bin/launchmail /usr/bin/launchmail.ori
475
	[ -e /etc/gconf/schemas/desktop_gnome_url_handlers.schemas ] && \
-
 
476
	sed -i.ori "s|evolution --component=mail|thunderbird -compose|" \
-
 
477
        /etc/gconf/schemas/desktop_gnome_url_handlers.schemas
475
	    ln -s /usr/bin/thunderbird /usr/bin/launchmail
478
 
476
	fi
479
	# the above may not work for SL4, this should work
-
 
480
	sed -i.ori "s|exec evolution|exec thunderbird|" /usr/bin/launchmail
-
 
481
    fi
477
    fi
482
fi
478
fi
483
 
479
 
484
### fix a bug in dag's gparted
480
### fix a bug in dag's gparted
485
if [ -e /usr/bin/run-gparted ]; then
481
if [ -e /usr/bin/run-gparted ]; then