/[baselayout]/branches/bsd-porting-2/sbin/depscan.sh
Gentoo

Diff of /branches/bsd-porting-2/sbin/depscan.sh

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

Revision 1984 Revision 1985
48 48
49 is_older_than "${mtime_test}" "${config}" && clock_screw=1 49 is_older_than "${mtime_test}" "${config}" && clock_screw=1
50 done 50 done
51 rm -f "${mtime_test}" 51 rm -f "${mtime_test}"
52 52
53 [[ ${clock_screw} == 1 ]] && \ 53 if [[ ${clock_screw} == 1 ]] ; then
54 ewarn "Some file in '/etc/{conf.d,init.d}' have Modification time in the future!" 54 ewarn "One of the files in /etc/{conf.d,init.d} or /etc/rc.conf"
55 ewarn "has a modification time in the future!"
56 fi
55 57
56 shift 58 shift
57fi 59fi
58 60
59[[ ${update} == 0 && -e "${svcdir}/deptree" ]] && exit 0 61[[ ${update} == 0 && -e "${svcdir}/deptree" ]] && exit 0
60 62
61ebegin "Caching service dependencies" 63ebegin "Caching service dependencies"
62 64
63# Clean out the non volitile directories ... 65# Clean out the non volatile directories ...
64rm -rf "${svcdir}"/dep{cache,tree} "${svcdir}"/{broken,snapshot}/* 66rm -rf "${svcdir}"/dep{cache,tree} "${svcdir}"/{broken,snapshot}/*
65 67
66retval=0 68retval=0
67SVCDIR="${svcdir}" 69SVCDIR="${svcdir}"
68DEPTYPES="${deptypes}" 70DEPTYPES="${deptypes}"

Legend:
Removed from v.1984  
changed lines
  Added in v.1985

  ViewVC Help
Powered by ViewVC 1.1.20