Date: Sun, 29 Jun 2014 15:04:10 +0000 From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 191392] www/apache24 does not install config files Message-ID: <bug-191392-16115-XK1rm5Msq5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191392-16115@https.bugs.freebsd.org/bugzilla/> References: <bug-191392-16115@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191392 Olli Hauer <ohauer@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ohauer@FreeBSD.org --- Comment #1 from Olli Hauer <ohauer@FreeBSD.org> --- Hi Robert, the files are installed/removed with the following lines from pkg-plist (sample line for mime.types) ... @unexec if cmp -s %D/%%ETCDIR%%/mime.types %D/%%EXAMPLESDIR%%/mime.types; then rm -f %D/%%ETCDIR%%/mime.types; fi %%EXAMPLESDIR%%/mime.types @exec [ -f %D/%%ETCDIR%%/mime.types ] || cp %D/%%EXAMPLESDIR%%/mime.types %D/%%ETCDIR%%/mime.types Without this lines existing files would be overwritten, so it is correct to have them during package building only in the share/example/apache24 directory. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191392-16115-XK1rm5Msq5>