From 827bb91e582c8cf7d961ae630e1cd3f9ae2f818b Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:40:12 +0300 Subject: [PATCH] Update gen-apt-config.py --- gen-apt-config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gen-apt-config.py b/gen-apt-config.py index dd73e26..4ec0e90 100755 --- a/gen-apt-config.py +++ b/gen-apt-config.py @@ -26,8 +26,10 @@ for file in srcnames_files: srcname = line.strip() srcname_lines.append(srcname) result = subprocess.run([current_path + "/apt_experiments", '-n', srcname], stdout=subprocess.PIPE) - stdout = result.stdout.decode('utf-8').replace('\\n', '\n') - pkgname_lines.append(stdout) + stdout = result.stdout.decode('utf-8') + for line in stdout.splitlines(): + pkgname_lines.append(line) + pkgname_lines.append(line+"t64") file.close() with open (current_path + "/package_pkgnames_overrides") as file: