Magellan Linux

Diff of /mage/branches/alx-0_6_0/profiles/alx-060/prune-orphaned-files

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2716 by niro, Mon May 16 15:40:21 2011 UTC revision 2717 by niro, Mon Aug 8 08:24:35 2011 UTC
# Line 35  do Line 35  do
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 ;;
# Line 110  do Line 112  do
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

Legend:
Removed from v.2716  
changed lines
  Added in v.2717