summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/config.rs b/src/config.rs
index ff83f01..c2d8cdb 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -72,6 +72,7 @@ pub struct SystemProfile {
pub active_group: Option<String>,
}
+#[allow(dead_code)]
impl SystemProfile {
pub fn group_name(&self) -> Option<String> {
if let Some(g) = &self.active_group {
@@ -108,6 +109,7 @@ impl SystemProfile {
list.push(new_pkg.to_string());
}
}
+
#[allow(dead_code)]
pub fn remove_from_list_role(&mut self, role: &str, pkg: &str) {
let list = match role {
@@ -215,11 +217,10 @@ impl Config {
"parallel_downloads = 4\n",
"arch = x86_64\n",
"libc = glibc\n",
- "\n",
"[repositories.rorkos]\n",
- "url = \"https://github.com/RorkOS/RorkOS_package\"\n",
- "urlrepo = \"https://github.com/RorkOS/RorkOS_packages_bin/releases/download/latest/\"\n",
- "mirror = \"https://github.com/rork-os/RorkOS_package\"\n",
+ "url = \"https://\"\n",
+ "urlrepo = \"https://\"\n",
+ "mirror = \"https://\"\n",
"gpg_support = true\n",
"gpg_key = \"rorka.pub\"\n",
);