From 8e5b787a41f9ddf2cd9f9b4edd4c22fbbc826edd Mon Sep 17 00:00:00 2001 From: robiscool Date: Thu, 23 Jun 2011 10:45:26 -0700 Subject: snort-dev, add snort-dev to pkg_config.8.xml --- config/snort-dev/snort_install.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/snort-dev') diff --git a/config/snort-dev/snort_install.inc b/config/snort-dev/snort_install.inc index 30f2884e..bcdabdb1 100644 --- a/config/snort-dev/snort_install.inc +++ b/config/snort-dev/snort_install.inc @@ -138,6 +138,10 @@ function snort_postinstall() if (!file_exists('/var/snort/')) { exec('/bin/mkdir -p /var/snort/'); + } + + if (!file_exists('/usr/local/pkg/snort/snortDBtemp')) { + exec('/bin/mv /var/snort/snortDBtemp'); } // cleanup default files -- cgit v1.2.3