Hi Mario On Sun, Sep 16, 2007 at 09:09:54PM +0200, Mario 'BitKoenig' Holbe wrote: > On Sun, Sep 16, 2007 at 08:06:15PM +0200, Ola Lundqvist wrote: > > I was wrong. > > You should set APTCOMMAND_HERE to /usr/bin/dselect > > Ah, thank you very much. Just for curiosity... could I have got this > from somewhere myself? Seems like the cron-apt documentation is > somewhat... well... non-existing :)
True! > Perhaps you could comment this in /etc/cron-apt/config, the current > comment there: "The directory where configuration per action is stored." > leads IMHO more to my assumption that config-changes in these files are > implicitely local. I do not think it should be in the config file... > Btw... should you look for a solution to store/restore/preserve some > environment state... there are different solutions ranging from opening > a new shell-context like ( ... ) to env > foo; unset all vars; . foo; I have thought of that as well, but it turned out to be a very complex solution to handle cases with errors. If an error occurs cron-apt should stop executing, but if you use the shell contexts it will actually just continue. I also wanted to keep the current function to make it possible to set variables that actually start with one config.d/foo and continue to the next as well. That is not possible as well. So this was the solution. However it could be better documented. Patches are always welcome. :) Best regards, // Ola > > Thanks for your work & best regards > Mario > -- > File names are infinite in length where infinity is set to 255 characters. > -- Peter Collinson, "The Unix File System" -- --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ---- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://opalsys.net/ Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

