Subversion Repositories livecd

Rev

Rev 255 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 255 Rev 257
Line 79... Line 79...
79
mv /mini/usr/share/doc/* /usr/share/doc/ 2>/dev/null
79
mv /mini/usr/share/doc/* /usr/share/doc/ 2>/dev/null
80
mv /mini/usr/share/backgrounds/images/* /usr/share/backgrounds/images/ 2>/dev/null
80
mv /mini/usr/share/backgrounds/images/* /usr/share/backgrounds/images/ 2>/dev/null
81
mv /mini/usr/share/anaconda/pixmaps/rnotes /usr/share/anaconda/pixmaps/ 2>/dev/null
81
mv /mini/usr/share/anaconda/pixmaps/rnotes /usr/share/anaconda/pixmaps/ 2>/dev/null
82
 
82
 
83
java_src=$( rpm -ql jdk 2>/dev/null | grep /src.zip )
83
java_src=$( rpm -ql jdk 2>/dev/null | grep /src.zip )
84
[ "$java_src" ]    && mv -v /mini/src.zip "$java_src"
84
[ "$java_src" ]    && mv -v /mini/src.zip "$java_src"    2>/dev/null
85
java_demo=$( rpm -ql jdk | grep /demo$ | head -n 1 )
85
java_demo=$( rpm -ql jdk | grep /demo$ | head -n 1 )
86
[ "$java_demo" ]   && mv -v /mini/demo    "$java_demo" 
86
[ "$java_demo" ]   && mv -v /mini/demo    "$java_demo"   2>/dev/null 
87
java_sample=$( rpm -ql jdk | grep /sample$ | head -n 1 )
87
java_sample=$( rpm -ql jdk | grep /sample$ | head -n 1 )
88
[ "$java_sample" ] && mv -v /mini/sample  "$java_sample" 
88
[ "$java_sample" ] && mv -v /mini/sample  "$java_sample" 2>/dev/null
89
 
89
 
90
java_src=$( rpm -ql j2sdk 2>/dev/null | grep /src.zip )
90
java_src=$( rpm -ql j2sdk 2>/dev/null | grep /src.zip )
91
[ "$java_src" ]    && mv -v /mini/src.zip "$java_src"
91
[ "$java_src" ]    && mv -v /mini/src.zip "$java_src"    2>/dev/null
92
java_demo=$( rpm -ql j2sdk | grep /demo$ | head -n 1 )
92
java_demo=$( rpm -ql j2sdk | grep /demo$ | head -n 1 )
93
[ "$java_demo" ]   && mv -v /mini/demo    "$java_demo" 
93
[ "$java_demo" ]   && mv -v /mini/demo    "$java_demo"   2>/dev/null 
94
java_sample=$( rpm -ql j2sdk | grep /sample$ | head -n 1 )
94
java_sample=$( rpm -ql j2sdk | grep /sample$ | head -n 1 )
95
[ "$java_sample" ] && mv -v /mini/sample  "$java_sample" 
95
[ "$java_sample" ] && mv -v /mini/sample  "$java_sample" 2>/dev/null
96
 
96
 
97
if [ -f /mini/usr/share/info/bash.info.gz ]; then
97
if [ -f /mini/usr/share/info/bash.info.gz ]; then
98
    ./mini-livecd.sh -restore
98
    ./mini-livecd.sh -restore
99
fi
99
fi
100
 
100