[sysadmin/neon-tooling] nci/lib: no need to add a deb line for future series anymore
Carlos De Maine <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 26bbf04c15669e2c7760e3570ed243c8e23833da by Carlos De Maine.
Committed on 21/07/2026 at 05:18.
Pushed by carlosdem into branch 'master'.
no need to add a deb line for future series anymore
https://bugs.debian.org/892174 has been fixed upstream
M +2 -10 nci/lib/setup_repo.rb
https://invent.kde.org/sysadmin/neon-tooling/-/commit/26bbf04c15669e2c7760e3570ed243c8e23833da
diff --git a/nci/lib/setup_repo.rb b/nci/lib/setup_repo.rb
index 21cc42b9..4c7cd9b7 100644
--- a/nci/lib/setup_repo.rb
+++ b/nci/lib/setup_repo.rb
@@ -161,16 +161,8 @@ APT::Default-Release "#{setup_repo_codename}";
# invalid
# obviously.
lines = [debsrcline(dist: dist)]
- # Also add deb entry -.-
- # https://bugs.debian.org/892174
- lines << debline(dist: dist) if dist != setup_repo_codename
- File.write("/etc/apt/sources.list.d/neon_src_#{dist}.list",
- lines.join("\n"))
- puts "lines: #{lines.join('\n')}"
- @file_path = "/etc/apt/sources.list.d/neon_src_#{dist}.list"
- old_string = "deb http:"
- new_contents = File.read(@file_path).gsub(old_string, '# deb [ signed-by=/etc/apt/keyrings/444D_ABCF_3667_D028_3F89__4EDD_E6D4_7362_5575_1E5D.asc ] http:')
- File.write(@file_path, new_contents)
+ File.write("/etc/apt/sources.list.d/neon_src_#{dist}.list", lines))
+ puts "lines: #{lines)}"
end
disable_all_src
end