diff --git a/php/Stack_PKG/apt.php b/php/Stack_PKG/apt.php index ea3616f5..fedb2105 100644 --- a/php/Stack_PKG/apt.php +++ b/php/Stack_PKG/apt.php @@ -1,12 +1,21 @@ pkg = $data; + + print_r($this->pkg); //debugging purpose only + + } function install() { - $this->cmd = 'apt-get install '.$this->pkg ; + $this->cmd = 'apt-get install '.$this->pkg['package_name'] ; $this->execute_local(); } @@ -84,7 +93,7 @@ class APT extends PKG_MANAGER { is_installed auto_remove auto_clean - update + */