35 |
/boot/System.map) continue ;; |
/boot/System.map) continue ;; |
36 |
/boot/config) continue ;; |
/boot/config) continue ;; |
37 |
/boot/initrd) continue ;; |
/boot/initrd) continue ;; |
38 |
|
/etc/conf.d/mkinitrd) continue ;; |
39 |
/etc/ld.so.conf) continue ;; |
/etc/ld.so.conf) continue ;; |
40 |
/etc/ld.so.cache) continue ;; |
/etc/ld.so.cache) continue ;; |
41 |
|
/etc/modprobe.d/uvesafb.conf) continue;; |
42 |
/etc/localtime) continue ;; |
/etc/localtime) continue ;; |
43 |
/etc/shadow*) continue ;; |
/etc/shadow*) continue ;; |
44 |
/etc/gshadow*) continue ;; |
/etc/gshadow*) continue ;; |
112 |
echo "==> deleted -> ${i}" >> ${LOG} |
echo "==> deleted -> ${i}" >> ${LOG} |
113 |
fi |
fi |
114 |
done |
done |
115 |
|
# check old files in home |
116 |
|
for i in .fluxbox .alxprogs .xtdesktop .xtdeskrc .ideskrc .idesktop .xinitrc |
117 |
|
do |
118 |
|
if [[ -f /home/station/${i} ]] |
119 |
|
then |
120 |
|
rm /home/station/${i} |
121 |
|
echo "==> deleted -> /home/station/${i}" >> ${LOG} |
122 |
|
fi |
123 |
|
if [[ -d /home/station/${i} ]] |
124 |
|
then |
125 |
|
rm -r /home/station/${i} |
126 |
|
echo "==> deleted -> /home/station/${i}" >> ${LOG} |
127 |
|
fi |
128 |
|
done |
129 |
# recreate fontconfig cache |
# recreate fontconfig cache |
130 |
if [ -x /usr/bin/fc-cache ] |
if [ -x /usr/bin/fc-cache ] |
131 |
then |
then |