blob: b7b0c6ed2095d86ef6bd500435db3e7b568fa8ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff -Naur a/program/functions.py b/program/functions.py
--- a/program/functions.py 2010-12-04 17:18:57.000000000 +0000
+++ b/program/functions.py 2015-10-13 06:12:42.062145855 +0000
@@ -490,16 +490,16 @@
defaultExcludes.append( '/lib/modules/' + kernelVersion + '/volatile/' + each )
# /var/cache/apt/archives/*.deb
- contents = commands.getoutput( 'ls /var/cache/apt/archives | grep ".deb" ' )
+ contents = commands.getoutput( 'ls /var/cache/pacman/pkg ' )
if contents:
for each in contents.split('\n'):
- defaultExcludes.append( '/var/cache/apt/archives/' + each )
+ defaultExcludes.append( '/var/cache/pacman/pkg' + each )
# /var/cache/apt/archives/partial/*
- contents = commands.getoutput( 'ls /var/cache/apt/archives/partial/' )
- if contents:
- for each in contents.split('\n'):
- defaultExcludes.append( '/var/cache/apt/archives/partial/' + each )
+ #contents = commands.getoutput( 'ls /var/cache/apt/archives/partial/' )
+ #if contents:
+ # for each in contents.split('\n'):
+ # defaultExcludes.append( '/var/cache/apt/archives/partial/' + each )
return defaultExcludes
|