Add error message in case we can't choose a format
modified libpkg/pkg.h
@@ -138,6 +138,10 @@ typedef enum {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_create.c
@@ -129,7 +129,6 @@ pkg_create_from_dir(struct pkg *pkg, const char *root, struct archive *pkg_archi
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -159,8 +158,7 @@ pkg_create(const char *mpath, pkg_formats format, const char *outdir, const char
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|