Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2508 - keepdir support (request)
Summary: keepdir support (request)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-06 17:53 UTC by Thilo Bangert (RETIRED) (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
0 users

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 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-05-06 17:53:06 UTC
i would like to request general keepdir support, as it is also needed in other  
ebuilds (not just baselayout) 
  
i already use it in cronbase - but all the other crons need it too, as they  
install the crontab dirs without putting in a crontab...  
  
this could cleanup other situations, where the ebuild author now touches a the 
.keep file manually
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-06-26 17:06:55 UTC
touch 
 
this is what the keepdir function in baselayout looks like: 
 
#adds ".keep" files so that dirs aren't auto-cleaned 
keepdir() { 
        dodir $* 
        local x 
        for x in $* 
        do 
                touch ${D}/${x}/.keep 
        done 
} 
 
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-06-27 18:05:28 UTC
closed by g2boojum