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

Bug 723454

Summary: app-admin/tmpwatch-2.11-r2: example cron script has obsolete /usr/portage/distfiles
Product: Gentoo Linux Reporter: Raymond Jennings <shentino>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: trivial CC: jstein, jy6x2b32pie9
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Raymond Jennings 2020-05-17 01:21:56 UTC
The commented out default distfiles in the cron script says "/usr/portage/distfiles" instead of the new default "/var/cache/distfiles"

Reproducible: Always

Steps to Reproduce:
1.install tmpwatch
2.check /etc/cron.daily/tmpwatch
3.notice that the new default isn't in place
Actual Results:  
tmpwatch's script is old

Expected Results:  
tmpwatch's script would be updated after the reshuffle of /usr/portage
Comment 1 NHO 2025-01-14 12:55:40 UTC
Fixed in commit b32a477eba2470c5137d5c2b2da0d28d45c4bdc0
Author: Kerin Millar <kfm@plushkava.net>
Date:   Fri Aug 20 03:16:53 2021 +0100
...
Don't hard-code pathnames to external programs and define silly
    variables such as TMPWATCH. Instead, define a sane PATH at the beginning
    of the script.
...