Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage4.functions.sh

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

revision 1293 by niro, Fri May 27 12:56:38 2011 UTC revision 1438 by niro, Mon Jul 25 12:05:37 2011 UTC
# Line 1365  syncmage() Line 1365  syncmage()
1365   done   done
1366    
1367   # clean up backup files (foo~)   # clean up backup files (foo~)
1368   find ${MAGEDIR} -name *~ -exec rm '{}' ';'   find ${MAGEDIR} -name \*~ -exec rm '{}' ';'
1369    
1370   # check if a newer mage version is available   # check if a newer mage version is available
1371   is_newer_mage_version_available   is_newer_mage_version_available
# Line 1575  get_highest_magefile() Line 1575  get_highest_magefile()
1575   local magefile   local magefile
1576    
1577   # do not list the content of a directory, only the name (-d)   # do not list the content of a directory, only the name (-d)
1578   for magefile in $(ls --format=single-column -v -d ${MAGEDIR}/${PCAT}/${PNAME}/*)   for magefile in $(ls --format=single-column -v -d ${MAGEDIR}/${PCAT}/${PNAME}/* 2> /dev/null)
1579   do   do
1580   [[ -z ${magefile} ]] && continue   [[ -z ${magefile} ]] && continue
1581   # we exclude subdirs (for stuff like a md5sum dir)   # we exclude subdirs (for stuff like a md5sum dir)
# Line 3089  need_busybox_support() Line 3089  need_busybox_support()
3089   then   then
3090   # needs busybox support   # needs busybox support
3091   return 0   return 0
  else  
  # no busybox  
  return 1  
3092   fi   fi
3093   fi   fi
3094    
3095     # no busybox
3096     return 1
3097  }  }
3098    
3099  # busybox_filter_wget_options ${wget_opts}  # busybox_filter_wget_options ${wget_opts}

Legend:
Removed from v.1293  
changed lines
  Added in v.1438