diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-06-23 11:14:06 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-06-23 11:14:06 -0400 |
commit | cb6630e5b527cb17df5f75eac362add5d8bdf9de (patch) | |
tree | df8b0717e78764b8d936a4fb9f776420645de1ba /etc/inc/pkg-utils.inc | |
parent | efea79691de94e696b97c2c4092eaf07c350882e (diff) | |
download | pfsense-cb6630e5b527cb17df5f75eac362add5d8bdf9de.zip pfsense-cb6630e5b527cb17df5f75eac362add5d8bdf9de.tar.gz |
Loosen grep for rrd
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index a5ced57..78a9463 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -321,7 +321,7 @@ function uninstall_package($pkg_name) { $static_output .= "Backing up libraries... "; update_output_window($static_output); exec("/usr/bin/tar czPf /tmp/pkg_libs.tgz `/bin/cat /etc/pfSense_md5.txt | /usr/bin/grep 'local/lib' | /usr/bin/awk '{ print $2 }' | /usr/bin/cut -d'(' -f2 | /usr/bin/cut -d')' -f1`"); - exec("/usr/bin/tar czPf /tmp/pkg_bins.tgz `/bin/cat /etc/pfSense_md5.txt | /usr/bin/grep 'rrdtool' | /usr/bin/awk '{ print $2 }' | /usr/bin/cut -d'(' -f2 | /usr/bin/cut -d')' -f1`"); + exec("/usr/bin/tar czPf /tmp/pkg_bins.tgz `/bin/cat /etc/pfSense_md5.txt | /usr/bin/grep 'rrd' | /usr/bin/awk '{ print $2 }' | /usr/bin/cut -d'(' -f2 | /usr/bin/cut -d')' -f1`"); $static_output .= "\n"; } } |