Subversion Repositories livecd

Rev

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

Rev 169 Rev 255
Line 76... Line 76...
76
 
76
 
77
### restore folders from /mini
77
### restore folders from /mini
78
echo "restore folders from /mini ..."
78
echo "restore folders from /mini ..."
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
-
 
82
 
-
 
83
java_src=$( rpm -ql jdk 2>/dev/null | grep /src.zip )
-
 
84
[ "$java_src" ]    && mv -v /mini/src.zip "$java_src"
-
 
85
java_demo=$( rpm -ql jdk | grep /demo$ | head -n 1 )
-
 
86
[ "$java_demo" ]   && mv -v /mini/demo    "$java_demo" 
-
 
87
java_sample=$( rpm -ql jdk | grep /sample$ | head -n 1 )
-
 
88
[ "$java_sample" ] && mv -v /mini/sample  "$java_sample" 
-
 
89
 
-
 
90
java_src=$( rpm -ql j2sdk 2>/dev/null | grep /src.zip )
-
 
91
[ "$java_src" ]    && mv -v /mini/src.zip "$java_src"
-
 
92
java_demo=$( rpm -ql j2sdk | grep /demo$ | head -n 1 )
-
 
93
[ "$java_demo" ]   && mv -v /mini/demo    "$java_demo" 
-
 
94
java_sample=$( rpm -ql j2sdk | grep /sample$ | head -n 1 )
-
 
95
[ "$java_sample" ] && mv -v /mini/sample  "$java_sample" 
-
 
96
 
81
if [ -f /mini/usr/share/info/bash.info.gz ]; then
97
if [ -f /mini/usr/share/info/bash.info.gz ]; then
82
    ./mini-livecd.sh -restore
98
    ./mini-livecd.sh -restore
83
fi
99
fi
-
 
100
 
84
echo "done."
101
echo "done."
85
echo
102
echo
86
 
103
 
87
### restore cronjobs
104
### restore cronjobs
88
mv /etc/cron_backup/sysstat /etc/cron.d/ 2>/dev/null
105
mv /etc/cron_backup/sysstat /etc/cron.d/ 2>/dev/null