From e31df777708d2f5a8dbe64266331e206885edd00 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 23 Dec 2005 09:34:19 +0000 Subject: [PATCH] Fixed missing install method git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2384 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPackage.inc | 5 ++++- plugins/admin/fai/class_faiProfile.inc | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/admin/fai/class_faiPackage.inc b/plugins/admin/fai/class_faiPackage.inc index 0270baaca..92860db32 100644 --- a/plugins/admin/fai/class_faiPackage.inc +++ b/plugins/admin/fai/class_faiPackage.inc @@ -11,7 +11,7 @@ class faiPackage extends plugin var $ignore_account = TRUE; /* Attributes for this Object */ - var $attributes = array("cn","description","FAIpackage","FAIdebianRelease","FAIdebianSection"); + var $attributes = array("cn","description","FAIpackage","FAIdebianRelease","FAIdebianSection", "FAIinstallMethod"); /* ObjectClasses for this Object*/ var $objectclasses = array("top","FAIclass","FAIpackageList","FAIrepository"); @@ -38,6 +38,7 @@ class faiPackage extends plugin var $FAIdebianRelease = ""; // The selected release var $FAIdebianSection = ""; // selected section + var $FAIinstallMethod = "aptitude"; // hard coded var $mirror = ""; // selected mirror var $servers = array(); // All available servers @@ -373,6 +374,8 @@ class faiPackage extends plugin $this->attrs['FAIdebianSection'][] = $sec; } + $this->attrs["FAIinstallMethod"]= "aptitude"; + $ldap->cat($this->dn); if($ldap->count()!=0){ /* Write FAIscript to ldap*/ diff --git a/plugins/admin/fai/class_faiProfile.inc b/plugins/admin/fai/class_faiProfile.inc index 5fe543b06..2150c692b 100644 --- a/plugins/admin/fai/class_faiProfile.inc +++ b/plugins/admin/fai/class_faiProfile.inc @@ -249,7 +249,7 @@ class faiProfile extends plugin $objTypes['FAIpackages'] = ""; $objTypes['FAIpartitionTable'] = ""; - $actions = ""; + $actions = ""; $linkupdown = " "; $linkupdown.= ""; -- 2.30.2