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

Re: design issues in debian packages



Adam Heath <doogie@debian.org> writes:

> Scan for all files in *.d/.  Ignore *.dpkg-new, *.rpm-save type files.
> Ignore .* files.
> 
> For each file found, if a .$file exists, and is executable, run it.
> If .$file returns true, process the file.  Otherwise, skip if.
> 
> If no .$file is found, or is not executable, process the file.

I'd prefer a non-executable file to mean "disable".  This makes it
possible to use 0 byte files only (execute bit means yes or no :),
although packages should not use this trick.

It's all very flexible and nice, but pretty complex and not very
intuitive for the enduser.  It might help a little to call .$file
something more explicit like .disabled?.$file instead.  (The question
mark may be a bad idea, though.)


Kjetil T.



Reply to: