[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cron.weekly scripts and more...



On 04-Feb-98, 11:33 (CST), Paul Slootman <paul@murphy.nl> wrote:
> To make sure I was doing it right, I tried to find where the cron.weekly
> script is copied into the corresponding directory
> debian/tmp/etc/cron.weekly but couldn't find where that happens... So I
> guess that dpkg-buildpackage does that automagically, right? Or am I
> totally confused at this point?

dpkg-buildpackage definitely *does not* do this. However, debstd (from
debmake) does provide this function. Are you calling debstd in your
rules file?

> Anyway, if it is done automagically, should the same be expected for
> ip-{up,down}.d scripts?  Or should I simply copy the script into the
> debian/tmp/etc/cron.weekly directory?

Well, I don't think you want to copy it to debian/tmp/etc/cron.weekly
:-), but if you just copy it to to ...ip-{up,down}.d, it should do what
you want -- there's nothing magic being done here, it's just that the
cron stuff is common enough that debstd automates it.

steve


Reply to: