Magellan Linux

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

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

revision 2824 by niro, Mon Aug 29 20:14:54 2011 UTC revision 2825 by niro, Fri Sep 2 16:18:51 2011 UTC
# Line 60  do Line 60  do
60   /etc/dropbear*) continue ;;   /etc/dropbear*) continue ;;
61   /etc/alxconfig-ng*) continue ;;   /etc/alxconfig-ng*) continue ;;
62   /usr/mage*) continue ;;   /usr/mage*) continue ;;
63     /usr/bin/X) continue ;;
64   /root*) continue ;;   /root*) continue ;;
65   /home*) continue ;;   /home*) continue ;;
66   /proc*) continue ;;   /proc*) continue ;;
# Line 73  do Line 74  do
74   # update specific   # update specific
75   /.orphaned) continue ;;   /.orphaned) continue ;;
76   /.dist-upgrade) continue ;;   /.dist-upgrade) continue ;;
77     # never try to remove the root
78     /) continue ;;
79   esac   esac
80   check_busybox ${i} && continue   check_busybox ${i} && continue
81    
82   if [[ -z $(magequery -f ${i}) ]]   if [[ -z $(magequery -e ${i}) ]]
83   then   then
84   echo -e "${COLRED}NAK${COLDEFAULT} -> ${i}"   echo -e "${COLRED}NAK${COLDEFAULT} -> ${i}"
85   #echo "not found -> ${i}" >> ${LOG}   #echo "not found -> ${i}" >> ${LOG}

Legend:
Removed from v.2824  
changed lines
  Added in v.2825