projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1b3c5
)
opkg: the PKG_UPGRADE env was not set properly
author
John Crispin
<john@openwrt.org>
Tue, 2 Dec 2014 15:21:50 +0000
(15:21 +0000)
committer
John Crispin
<john@openwrt.org>
Tue, 2 Dec 2014 15:21:50 +0000
(15:21 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43493
package/system/opkg/patches/110-upgrade.patch
patch
|
blob
|
history
diff --git
a/package/system/opkg/patches/110-upgrade.patch
b/package/system/opkg/patches/110-upgrade.patch
index b8206f055b4dddedba61582adadead895d1e1bab..f21008eec6d76f8dfc6864849dc05edef722c1f1 100644
(file)
--- a/
package/system/opkg/patches/110-upgrade.patch
+++ b/
package/system/opkg/patches/110-upgrade.patch
@@
-24,9
+24,9
@@
Index: opkg-9c97d5ecd795709c8584e972bfdf3aee3a5b846d/libopkg/pkg.c
pkg->dest ? pkg->dest->root_dir : conf->default_dest->root_dir, 1);
+ if (pkg->is_upgrade)
-+ setenv("PKG_UPGRADE", "1",
0
);
++ setenv("PKG_UPGRADE", "1",
1
);
+ else
-+ setenv("PKG_UPGRADE", "0",
0
);
++ setenv("PKG_UPGRADE", "0",
1
);
+
+
if (! file_exists(path)) {