Author: blogic Date: 2014-12-02 16:21:50 +0100 (Tue, 02 Dec 2014) New Revision: 43493
Modified: trunk/package/system/opkg/patches/110-upgrade.patch Log: opkg: the PKG_UPGRADE env was not set properly Signed-off-by: John Crispin <[email protected]> Modified: trunk/package/system/opkg/patches/110-upgrade.patch =================================================================== --- trunk/package/system/opkg/patches/110-upgrade.patch 2014-12-02 13:16:06 UTC (rev 43492) +++ trunk/package/system/opkg/patches/110-upgrade.patch 2014-12-02 15:21:50 UTC (rev 43493) @@ -24,9 +24,9 @@ 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)) { _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
