[package] opkg: the current version leaves empty temp directories behind, clean them...
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Dec 2009 03:28:11 +0000 (03:28 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Dec 2009 03:28:11 +0000 (03:28 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18872 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/opkg/patches/012-cleanup-tmpdir.patch [new file with mode: 0644]

diff --git a/package/opkg/patches/012-cleanup-tmpdir.patch b/package/opkg/patches/012-cleanup-tmpdir.patch
new file mode 100644 (file)
index 0000000..f6d5e87
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/src/opkg-cl.c
++++ b/src/opkg-cl.c
+@@ -333,6 +333,9 @@
+       print_error_list();
+       free_error_list();
++      if( conf->tmp_dir )
++              rm_r(conf->tmp_dir);
++
+       return 0;
+ err2:
This page took 0.028543 seconds and 4 git commands to generate.