aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-09-10 02:44:12 -0700
committerrobiscool <robrob2626@yahoo.com>2010-09-10 02:44:12 -0700
commitc63c0e329453d9155dde17e9ab131704ad775e7b (patch)
tree5a11934498c6ca0e91abaf7895341acb576bd2b2 /config/snort
parent140a7cec4608a4bb68567687641b3a29ba392732 (diff)
downloadpfsense-packages-c63c0e329453d9155dde17e9ab131704ad775e7b.tar.gz
pfsense-packages-c63c0e329453d9155dde17e9ab131704ad775e7b.tar.bz2
pfsense-packages-c63c0e329453d9155dde17e9ab131704ad775e7b.zip
snort, cp perl-threaded and no rm
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index e50d9019..8cf8f760 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -707,14 +707,14 @@ function snort_postinstall()
update_output_window(gettext("Please wait Installing..."));
if(file_exists('/tmp/pkg_s/perl-threaded-5.12.1_1.tbz')) {
- exec('/bin/mv /tmp/pkg_s/perl-threaded-5.12.1_1.tbz /root/pkg_s/perl-threaded-5.12.1_1.tbz');
- sleep(2);
- exec('/bin/rm -r /tmp/pkg_s/');
- exec('/usr/sbin/pkg_add -fv /root/pkg_s/perl-threaded-5.12.1_1.tbz');
+ exec('/bin/cp /tmp/pkg_s/perl-threaded-5.12.1_1.tbz /root/pkg_s/perl-threaded-5.12.1_1.tbz');
+ sleep(2);
+ exec('/usr/sbin/pkg_add -f /root/pkg_s/perl-threaded-5.12.1_1.tbz');
}
update_output_window(gettext("Please wait Cleaning Up..."));
- if(file_exists('/root/pkg_s/')){
+ if(file_exists('/root/pkg_s/')) {
+ exec('/bin/rm -r /tmp/pkg_s/');
exec('/bin/rm -r /root/pkg_s/');
}