diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-20 20:52:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-20 20:52:54 +0000 |
commit | 440b6d99625b129029800afb97bc9cc7a508046d (patch) | |
tree | 6681462085abca33fd65c14b8ae04346e9d454b4 /usr | |
parent | 8299072126d28d37a5edce1a71397525d110dc8e (diff) | |
download | pfsense-440b6d99625b129029800afb97bc9cc7a508046d.zip pfsense-440b6d99625b129029800afb97bc9cc7a508046d.tar.gz |
Include full path to .tgz in package manager. Previously broken by me.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index cd125b7..f7039ee 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -433,7 +433,7 @@ foreach ($packages_to_install as $id) { if(stristr($filename, ".tgz") <> "") { update_status("Extracting tgz archive to -C for " . $filename); fwrite($fd_log, "Extracting tgz archive to -C for " . $filename . " ...\n"); - system("/usr/bin/tar xzvf " . $filename . " -C / >/dev/null 2>&1"); + system("/usr/bin/tar xzvf /usr/local/pkg/" . $filename . " -C / >/dev/null 2>&1"); } } } |