modified libpkg/pkg_add.c
@@ -1,11 +1,14 @@
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -15,15 +18,15 @@
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,8 +38,8 @@ dep_installed(struct pkg_dep *dep, struct pkgdb *db) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -44,7 +47,7 @@ do_extract(struct archive *a, struct archive_entry *ae)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -62,7 +65,7 @@ do_extract(struct archive *a, struct archive_entry *ae)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -71,7 +74,7 @@ do_extract(struct archive *a, struct archive_entry *ae)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -86,20 +89,22 @@ pkg_add(struct pkgdb *db, const char *path)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -120,7 +125,7 @@ pkg_add2(struct pkgdb *db, const char *path, int upgrade, int automatic)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -130,20 +135,31 @@ pkg_add2(struct pkgdb *db, const char *path, int upgrade, int automatic)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -152,7 +168,7 @@ pkg_add2(struct pkgdb *db, const char *path, int upgrade, int automatic)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -166,7 +182,7 @@ pkg_add2(struct pkgdb *db, const char *path, int upgrade, int automatic)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -178,7 +194,7 @@ pkg_add2(struct pkgdb *db, const char *path, int upgrade, int automatic)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -237,6 +253,9 @@ pkg_add2(struct pkgdb *db, const char *path, int upgrade, int automatic)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified pkg/register.c
@@ -50,9 +50,9 @@ exec_register(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|