> From: Dr. Volker Zell > >>>>> "Daniel" == Daniel Reed <[EMAIL PROTECTED]> writes: > * Shouldn't the /usr/share/sample.sgreprc go to > /etc/defaults/etc/sample.sgreprc > and be copied to /usr/share/sgreprc by a postinstall script ?
If it is placed in /etc/defaults/ it should be called /etc/defaults/etc/.sgreprc (ie, it should be called the same as the actual file will be) as all that should happen is, if the file (or a link) doesn't exist minus the /etc/defaults prefix, copy it :) The easiest postinstall script is to copy /etc/postinstall/base-files-profile.sh[.done] as this is all that script does :) However the use of /etc/defaults/ is entirely optional and at the package maintainers whim :) J.