Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 204915

Summary: depcache needs double quotes.
Product: Gentoo Linux Reporter: William Zhou <william>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description William Zhou 2008-01-08 16:41:43 UTC
file /var/lib/init.d/depcache:

--- depcache.orig       2008-01-08 16:35:28.000000000 +0000
+++ depcache    2008-01-08 16:35:16.000000000 +0000
@@ -3081,7 +3081,7 @@
   # Actual depend() function ...
   depend() {
        local avahi
-       [ ${DISTCCD_AVAHI} = yes ] && avahi="avahi-daemon"
+       [ "${DISTCCD_AVAHI}" = "yes" ] && avahi="avahi-daemon"
        need net ${avahi}
        use ypbind
        return 0


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2008-01-08 17:13:08 UTC
depcache is an autogenerated file ... figure out what init.d script has that code and fix the init.d script