Update gen-apt-config.py

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-07-21 15:01:03 +03:00 committed by GitHub
parent fffbd03ec8
commit 1313617159
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,9 +26,8 @@ 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('ascii')
stdout = result.stdout.decode('ascii').decode("unicode_escape")
pkgname_lines.append(stdout)
pkgname_lines.append(stdout + "t64")
file.close()
with open (current_path + "/package_pkgnames_overrides") as file: