* Reset $pkg_chmod variable on each loop

* Actually invoke chmod command if needed
This commit is contained in:
Scott Ullrich 2005-03-02 17:17:00 +00:00
parent ab0a8f8808
commit 3c338e4d2b

View File

@ -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'] <> "")