diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2016-11-21 15:14:02 +0100 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2016-11-21 18:40:15 +0100 |
commit | a58f176ef2367f000a60a5ce477beb3cbdedf82e (patch) | |
tree | 9d912ea5bb82666724e470c077ba14f1e3aa9eca /package/system/opkg/patches/220-drop-release-support.patch | |
parent | 3c52cbfa53056ded95ae5a7ae27319eafd5a37e5 (diff) | |
download | upstream-a58f176ef2367f000a60a5ce477beb3cbdedf82e.tar.gz upstream-a58f176ef2367f000a60a5ce477beb3cbdedf82e.tar.bz2 upstream-a58f176ef2367f000a60a5ce477beb3cbdedf82e.zip |
opkg: set PKG_UPGRADE also when running scripts for the old package
Allow scripts from the package to be upgraded to be aware of being
upgraded.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Acked-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/system/opkg/patches/220-drop-release-support.patch')
-rw-r--r-- | package/system/opkg/patches/220-drop-release-support.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/system/opkg/patches/220-drop-release-support.patch b/package/system/opkg/patches/220-drop-release-support.patch index 41f271f184..131c2cba6b 100644 --- a/package/system/opkg/patches/220-drop-release-support.patch +++ b/package/system/opkg/patches/220-drop-release-support.patch @@ -1,6 +1,6 @@ --- a/libopkg/Makefile.am +++ b/libopkg/Makefile.am -@@ -15,7 +15,6 @@ +@@ -15,7 +15,6 @@ opkg_cmd_sources = opkg_cmd.c opkg_cmd.h opkg_upgrade.c opkg_upgrade.h \ opkg_remove.c opkg_remove.h opkg_db_sources = opkg_conf.c opkg_conf.h \ @@ -8,7 +8,7 @@ opkg_utils.c opkg_utils.h pkg.c pkg.h hash_table.h \ pkg_depends.c pkg_depends.h pkg_extract.c pkg_extract.h \ hash_table.c pkg_hash.c pkg_hash.h pkg_parse.c pkg_parse.h \ -@@ -28,7 +27,6 @@ +@@ -28,7 +27,6 @@ opkg_list_sources = conffile.c conffile. active_list.c active_list.h list.h opkg_util_sources = file_util.c file_util.h opkg_message.h opkg_message.c md5.c md5.h \ parse_util.c parse_util.h \ @@ -719,7 +719,7 @@ #include "pkg.h" #include "pkg_dest.h" #include "pkg_parse.h" -@@ -114,39 +113,6 @@ +@@ -114,39 +113,6 @@ opkg_update_cmd(int argc, char **argv) } @@ -769,7 +769,7 @@ #include "pkg.h" #include "opkg_message.h" #include "pkg_vec.h" -@@ -183,40 +182,6 @@ +@@ -183,40 +182,6 @@ pkg_hash_load_feeds(void) lists_dir = conf->restrict_to_default_dest ? conf->default_dest->lists_dir : conf->lists_dir; |