From 936485f730801be1d724f5a011e11f6f4bc75d11 Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 7 Jan 2010 12:37:49 +0000 Subject: [package] opkg: update to r513, move lock-file to /var/lock and drop cleanup patch - went upstream git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19061 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/opkg/patches/012-cleanup-tmpdir.patch | 35 --------------------------- 1 file changed, 35 deletions(-) (limited to 'package/opkg/patches/012-cleanup-tmpdir.patch') diff --git a/package/opkg/patches/012-cleanup-tmpdir.patch b/package/opkg/patches/012-cleanup-tmpdir.patch index d794a070e..e69de29bb 100644 --- a/package/opkg/patches/012-cleanup-tmpdir.patch +++ b/package/opkg/patches/012-cleanup-tmpdir.patch @@ -1,35 +0,0 @@ ---- a/src/opkg-cl.c -+++ b/src/opkg-cl.c -@@ -263,7 +263,7 @@ - int - main(int argc, char *argv[]) - { -- int opts; -+ int opts, err = -1; - char *cmd_name; - opkg_cmd_t *cmd; - int nocheckfordirorfile = 0; -@@ -327,15 +327,8 @@ - usage(); - } - -- if (opkg_cmd_exec(cmd, argc - opts, (const char **) (argv + opts))) -- goto err2; -+ err = opkg_cmd_exec(cmd, argc - opts, (const char **) (argv + opts)); - -- print_error_list(); -- free_error_list(); -- -- return 0; -- --err2: - #ifdef HAVE_CURL - opkg_curl_cleanup(); - #endif -@@ -346,5 +339,5 @@ - print_error_list(); - free_error_list(); - -- return -1; -+ return err; - } -- cgit v1.2.3