X-Git-Url: http://git.pjr.cc/?p=glcas.git;a=blobdiff_plain;f=plugins%2Fadmin.php;h=2b1d1ef46f2c0c3de4fec9657f8f538f3a5ee20f;hp=609047f56c4ce723a7e4906ff34671aaa53e491e;hb=ce16a1b219c25bd3cb3b803b4fec36dd557ead1b;hpb=2924678dd2b842e5ecbb2f009fc6601500312b57
diff --git a/plugins/admin.php b/plugins/admin.php
index 609047f..2b1d1ef 100644
--- a/plugins/admin.php
+++ b/plugins/admin.php
@@ -30,6 +30,9 @@ class GLCASAdmin {
GLCASpageBuilder($this,"doRepoNextForm");
return;
break;
+ case "addrepoapt":
+ GLCASpageBuilder($this,"doAddRepoApt");
+ return;
case "addrepoyum":
GLCASpageBuilder($this,"doAddRepoYum");
return;
@@ -148,15 +151,27 @@ class GLCASAdmin {
} else {
//echo "Looks like an apt repo, but I cant find any known distro's
";
}
+ //$existing_repos["distros"] = "Ubuntu, Debian";
+ //$existing_repos["versions"] = "8.04LTS, 9.10, 10.04LTS, 10.10, 11.04, 11.10";
+ //$existing_repos["arch"] = "x86_64, i386";
+
+
+ $distros = $glt["distros"];
+ $version = $glt["versions"];
+ $archs = $glt["arch"];
echo "