diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-02 11:28:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-02 11:28:38 +0000 |
commit | 059e7be269316b2de3aa556c70b9672e2d7b9894 (patch) | |
tree | 12ad0d8f2d084208e654dce01d316efa1320e2ea /package/busybox/patches/521-ipkg_upgrade_env.patch | |
parent | 2a58b9c7291d243a933c663366c1fe2dc9ecac35 (diff) | |
download | upstream-059e7be269316b2de3aa556c70b9672e2d7b9894.tar.gz upstream-059e7be269316b2de3aa556c70b9672e2d7b9894.tar.bz2 upstream-059e7be269316b2de3aa556c70b9672e2d7b9894.zip |
remove ipkg from busybox
SVN-Revision: 12498
Diffstat (limited to 'package/busybox/patches/521-ipkg_upgrade_env.patch')
-rw-r--r-- | package/busybox/patches/521-ipkg_upgrade_env.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/package/busybox/patches/521-ipkg_upgrade_env.patch b/package/busybox/patches/521-ipkg_upgrade_env.patch deleted file mode 100644 index 593b8c41fd..0000000000 --- a/package/busybox/patches/521-ipkg_upgrade_env.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- a/archival/libipkg/ipkg_install.c -+++ b/archival/libipkg/ipkg_install.c -@@ -136,6 +136,7 @@ - ipkg_error_t ipkg_install_by_name(ipkg_conf_t *conf, const char *pkg_name) - { - int cmp; -+ int u = 0; - pkg_t *old, *new; - char *old_version, *new_version; - -@@ -201,6 +202,7 @@ - } else if (cmp < 0) { - new->dest = old->dest; - old->state_want = SW_DEINSTALL; /* Here probably the problem for bug 1277 */ -+ u = 1; - } - } - -@@ -211,7 +213,7 @@ - anyone ever wants to make a nice libipkg. */ - - ipkg_message(conf, IPKG_DEBUG2,"Function: %s calling ipkg_install_pkg \n",__FUNCTION__); -- return ipkg_install_pkg(conf, new,0); -+ return ipkg_install_pkg(conf, new,u); - } - - ipkg_error_t ipkg_install_multi_by_name(ipkg_conf_t *conf, const char *pkg_name) -@@ -750,8 +752,10 @@ - char* file_md5; - - -- if ( from_upgrade ) -+ if ( from_upgrade ) { - message = 1; /* Coming from an upgrade, and should change the output message */ -+ setenv("IPKG_UPGRADE", "yes", 1); -+ } - - if (!pkg) { - ipkg_message(conf, IPKG_ERROR, |