Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723454 - app-admin/tmpwatch-2.11-r2: example cron script has obsolete /usr/portage/distfiles
Summary: app-admin/tmpwatch-2.11-r2: example cron script has obsolete /usr/portage/dis...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest trivial
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-17 01:21 UTC by Raymond Jennings
Modified: 2025-01-14 12:55 UTC (History)
2 users (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 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.
...