Subversion Repositories livecd

Rev

Rev 153 | Rev 162 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 153 Rev 154
Line 201... Line 201...
201
### delete *~ files in /etc
201
### delete *~ files in /etc
202
find /etc | grep "~$" | while read f; do rm -f "$f"; done
202
find /etc | grep "~$" | while read f; do rm -f "$f"; done
203
 
203
 
204
### clean up /root
204
### clean up /root
205
rm -f  /root/.bash_history
205
rm -f  /root/.bash_history
-
 
206
rm -f  /root/.lesshst
-
 
207
rm -f  /root/.rnd
-
 
208
rm -f  /root/.emacs.d
206
rm -f  /root/.ssh/known_hosts
209
rm -f  /root/.ssh/known_hosts
207
rm -rf /root/.subversion
210
rm -rf /root/.subversion
208
 
211
 
209
### clean AFS cache
212
### clean AFS cache
210
if [ -d /usr/vice/cache ]; then
213
if [ -d /usr/vice/cache ]; then
Line 452... Line 455...
452
    if [ "$?" != "0" ]; then
455
    if [ "$?" != "0" ]; then
453
	echo "StartupNotify=false" >> /etc/skel/.kde/Autostart/Autorun.desktop
456
	echo "StartupNotify=false" >> /etc/skel/.kde/Autostart/Autorun.desktop
454
    fi
457
    fi
455
fi
458
fi
456
 
459
 
-
 
460
### make thunderbird the default mail application in gnome, if evolution is not installed
-
 
461
rpm -q evolution >/dev/null 2>&1
-
 
462
if [ "$?" = "1" ]; then
-
 
463
    rpm -q thunderbird >/dev/null 2>&1
-
 
464
    if [ "$?" = "0" ]; then
-
 
465
	[ -e /etc/gconf/gconf.xml.defaults/%gconf-tree.xml ] && \
-
 
466
        sed -i.ori "s|evolution --component=mail|thunderbird -compose|" \
-
 
467
        /etc/gconf/gconf.xml.defaults/%gconf-tree.xml
-
 
468
	[ -e /etc/gconf/schemas/desktop_gnome_url_handlers.schemas ] && \
-
 
469
	sed -i.ori "s|evolution --component=mail|thunderbird -compose|" \
-
 
470
        /etc/gconf/schemas/desktop_gnome_url_handlers.schemas
-
 
471
    fi
-
 
472
fi
-
 
473
 
457
echo "done."
474
echo "done."
458
echo "--------------------------------------------"
475
echo "--------------------------------------------"
459
 
476
 
460
 
477
 
461
 
478