summaryrefslogtreecommitdiff
path: root/package/opkg/patches/012-cleanup-tmpdir.patch
blob: f6d5e8732d90730940c957120dbe5d4f0300fd2a (plain)
1
2
3
4
5
6
7
8
9
10
11
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: