Fixes #414 -- pkgng should be usable as an ordinary user when INSTALL_AS_USER is set in the environment.
modified libpkg/pkgdb.c
@@ -702,6 +702,8 @@ file_mode_insecure(const char *path, bool install_as_user)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -721,17 +723,33 @@ file_mode_insecure(const char *path, bool install_as_user)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|