diff options
| author | 2024-03-09 21:49:44 +0800 | |
|---|---|---|
| committer | 2024-03-09 21:49:44 +0800 | |
| commit | 76a9c02584a0bb825b8d0c8b4ffc4e469e1f5b51 (patch) | |
| tree | fae04294a788a753db272cc3b3b4700cccaa2e94 /tools/build_pkg_index.py | |
| parent | 7a208b56f386f8e618094b930d9e4e9b4d5bed92 (diff) | |
| download | ipm-server-76a9c02584a0bb825b8d0c8b4ffc4e469e1f5b51.tar.gz ipm-server-76a9c02584a0bb825b8d0c8b4ffc4e469e1f5b51.zip | |
fix(scripts): rename coc package dir name
Diffstat (limited to 'tools/build_pkg_index.py')
| -rw-r--r-- | tools/build_pkg_index.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/build_pkg_index.py b/tools/build_pkg_index.py index 958dfbb..73822b0 100644 --- a/tools/build_pkg_index.py +++ b/tools/build_pkg_index.py @@ -66,15 +66,15 @@ def build_index(root, base_url): packages/ .................. subdirectory for packages collections/ ............... xml files for collections - For each package, there should be two files: ``package.zip`` + For each package, there should be two files: ``package.ipk`` (where *package* is the package name) - which contains the package itself as a compressed zip file; and + which contains the package itself as a compressed ipk file; and ``package.xml``, which is an xml description of the package. The - zipfile ``package.zip`` should expand to a single subdirectory + zipfile ``package.ipk`` should expand to a single subdirectory named ``package/``. The base filename ``package`` must match the identifier given in the package's xml file. - For each collection, there should be a single file ``collection.zip`` + For each collection, there should be a single file ``collection.ipk`` describing the collection, where *collection* is the name of the collection. All identifiers (for both packages and collections) must be unique. @@ -187,7 +187,7 @@ def _find_packages(root): for name in zf.namelist() ): raise ValueError( - "Zipfile %s.zip does not expand to a " + "Zipfile %s.ipk does not expand to a " "single subdirectory %s/" % (uid, uid) ) |
