Unverified Kaydet (Commit) 2de42ef5 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Format 1.0 packaging is compitable right now

üst 32bd9263
...@@ -56,8 +56,8 @@ class Package: ...@@ -56,8 +56,8 @@ class Package:
archive_format = "tarlzma" archive_format = "tarlzma"
archive_suffix = ctx.const.lzma_suffix archive_suffix = ctx.const.lzma_suffix
else: else:
# "1.0" format does not have an archive archive_format = "tar"
return None, None archive_suffix = ""
archive_name = ctx.const.install_tar + archive_suffix archive_name = ctx.const.install_tar + archive_suffix
return archive_name, archive_format return archive_name, archive_format
...@@ -124,11 +124,6 @@ class Package: ...@@ -124,11 +124,6 @@ class Package:
if arcname is None: if arcname is None:
arcname = name arcname = name
if self.format == "1.0":
arcname = util.join_path("install", arcname)
self.add_to_package(name, arcname)
return
if self.install_archive is None: if self.install_archive is None:
archive_name, archive_format = \ archive_name, archive_format = \
self.archive_name_and_format(self.format) self.archive_name_and_format(self.format)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment