tech-pkg archive

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

Re: symlinks in PKG_SYSCONFDIR

Roy Marples wrote:

I'm trying to write a pkgsrc Makefile for a package that installs symlinks into PKG_SYSCONFDIR. How should this be handled?

Could you please describe the package a bit and how it uses these symlinks?

If you're making changes to ${PKG_SYSCONFDIR}, you should do it by creating a custom INSTALL script to create the symlinks at POST-INSTALL time and a corresponding DEINSTALL script to remove the symlinks at DEINSTALL time. We don't currently have a general facility to manage symlinks like we do for config files because other packages haven't needed it.


        -- Johnny C. Lam

Home | Main Index | Thread Index | Old Index