mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +02:00
[package] opkg: the current version leaves empty temp directories behind, clean them up before exit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18872 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c462134502
commit
6755b68047
12
package/opkg/patches/012-cleanup-tmpdir.patch
Normal file
12
package/opkg/patches/012-cleanup-tmpdir.patch
Normal file
@ -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:
|
Loading…
Reference in New Issue
Block a user