diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 17:17:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 17:17:00 +0000 |
commit | 3c338e4d2bfefe32027e2bf76086e41395f359d0 (patch) | |
tree | 1c0d54eb7daafe39fbdbf82b9f7fbf50e7abddb9 | |
parent | ab0a8f880848b34e843ae030d29d11ab6785a4ed (diff) | |
download | pfsense-3c338e4d2bfefe32027e2bf76086e41395f359d0.zip pfsense-3c338e4d2bfefe32027e2bf76086e41395f359d0.tar.gz |
* Reset $pkg_chmod variable on each loop
* Actually invoke chmod command if needed
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 70b8365..afcd3e8 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -353,6 +353,7 @@ foreach ($packages_to_install as $id) { fwrite($fd_log, "Downloading additional files needed for package " . $filename . " ...\n"); update_status("Downloading additional files needed for package " . $filename . " ...\n"); $prefix = "/usr/local/pkg/"; + $pkg_chmod = ""; if($afn['chmod'] <> "") $pkg_chmod = $afn['chmod']; if($afn['prefix'] <> "") |