1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

pactest: remove no longer necessary newline hacks

libalpm can now cope with this as of commit 719e0d3ddb.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-06-30 12:02:33 -05:00
parent 0ed848a9ea
commit 35ffe6af2d
2 changed files with 3 additions and 4 deletions

View File

@ -207,17 +207,17 @@ class pmdb(object):
make_section(data, "MD5SUM", pkg.md5sum)
make_section(data, "PGPSIG", pkg.pgpsig)
entry["desc"] = "\n".join(data) + "\n"
entry["desc"] = "\n".join(data)
# files and install
if self.is_local:
data = []
make_section(data, "FILES", pkg.full_filelist())
make_section(data, "BACKUP", pkg.local_backup_entries())
entry["files"] = "\n".join(data) + "\n"
entry["files"] = "\n".join(data)
if any(pkg.install.values()):
entry["install"] = pkg.installfile() + "\n"
entry["install"] = pkg.installfile()
return entry

View File

@ -136,7 +136,6 @@ class pmpkg(object):
data.append("provides = %s" % i)
for i in self.backup:
data.append("backup = %s" % i)
data.append("\n")
archive_files.append((".PKGINFO", "\n".join(data)))
# .INSTALL