summaryrefslogtreecommitdiffstats
path: root/package/opkg/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/opkg/patches')
-rw-r--r--package/opkg/patches/012-cleanup-tmpdir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/opkg/patches/012-cleanup-tmpdir.patch b/package/opkg/patches/012-cleanup-tmpdir.patch
new file mode 100644
index 000000000..f6d5e8732
--- /dev/null
+++ b/package/opkg/patches/012-cleanup-tmpdir.patch
@@ -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: