Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172502 - depscan.sh doesn't work when size of deptree is 0
Summary: depscan.sh doesn't work when size of deptree is 0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 197282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-28 05:24 UTC by Zhixu Liu
Modified: 2007-10-28 19:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhixu Liu 2007-03-28 05:24:27 UTC
when the size of file "/var/lib/init.d/deptree" is 0, depscan.sh do nothing but exit. But it should do something since the deptree is invalid in this condition.

Here is the test statement:
! ${update} && [[ -e "${mysvcdir}/deptree" ]] && exit 0

-e should be replaced by -s
Comment 1 SpanKY gentoo-dev 2007-03-28 06:25:14 UTC
added to svn so it'll be in the next release, cheers !
Comment 2 SpanKY gentoo-dev 2007-10-28 19:18:29 UTC
*** Bug 197282 has been marked as a duplicate of this bug. ***