Subversion Repositories livecd

Rev

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

Rev 169 Rev 222
Line -... Line 1...
-
 
1
 
-
 
2
 
1
#!/bin/bash
3
#!/bin/bash
2
#
4
#
3
################################################################
5
################################################################
4
#
6
#
5
# Used to build a MINI LiveCD
7
# Used to build a MINI LiveCD
Line 217... Line 219...
217
    ### configure ICEWM
219
    ### configure ICEWM
218
    cp -a customize/icewm/winoptions /usr/share/icewm/
220
    cp -a customize/icewm/winoptions /usr/share/icewm/
219
    cp -a customize/icewm/toolbar /usr/share/icewm/
221
    cp -a customize/icewm/toolbar /usr/share/icewm/
220
    cp -a customize/icewm/menu /usr/share/icewm/
222
    cp -a customize/icewm/menu /usr/share/icewm/
221
 
223
 
-
 
224
    ### default theme for ICEWM
-
 
225
    rpm -q icewm-SL-theme >/dev/null 2>&1
-
 
226
    if [ "$?" = "0" ]; then
-
 
227
	echo "Theme=SL/default.theme" > /usr/share/icewm/theme
-
 
228
    fi
-
 
229
 
222
    ### delete "mozilla" lines, if no mozilla is installed
230
    ### delete "mozilla" lines, if no mozilla is installed
223
    if [ ! -x /usr/bin/mozilla ]; then
231
    if [ ! -x /usr/bin/mozilla ]; then
224
	sed -i "/mozilla/d" /usr/share/icewm/winoptions
232
	sed -i "/mozilla/d" /usr/share/icewm/winoptions
225
	sed -i "/mozilla/d" /usr/share/icewm/toolbar
233
	sed -i "/mozilla/d" /usr/share/icewm/toolbar
226
	sed -i "/mozilla/d" /usr/share/icewm/menu	
234
	sed -i "/mozilla/d" /usr/share/icewm/menu