summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-07-01 11:13:34 +0200
committerMichał Górny <mgorny@gentoo.org>2017-07-01 11:19:57 +0200
commitf2a65ab8cebcc64971a43a22a1feaf64fdf879bd (patch)
tree0f24bb1325c8c7358471fc7cf2a82f5326a78917 /app-admin/checkrestart/files
parentmedia-libs/lv2core: Remove last-rited pkg, #388549 (diff)
downloadgentoo-f2a65ab8cebcc64971a43a22a1feaf64fdf879bd.tar.gz
gentoo-f2a65ab8cebcc64971a43a22a1feaf64fdf879bd.tar.bz2
gentoo-f2a65ab8cebcc64971a43a22a1feaf64fdf879bd.zip
app-admin/checkrestart: Remove last-rited pkg
Diffstat (limited to 'app-admin/checkrestart/files')
-rw-r--r--app-admin/checkrestart/files/checkrestart-0.47-cwd.patch11
-rw-r--r--app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch11
2 files changed, 0 insertions, 22 deletions
diff --git a/app-admin/checkrestart/files/checkrestart-0.47-cwd.patch b/app-admin/checkrestart/files/checkrestart-0.47-cwd.patch
deleted file mode 100644
index 6d5fd50aa05f..000000000000
--- a/app-admin/checkrestart/files/checkrestart-0.47-cwd.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- /usr/sbin/checkrestart 2016-02-22 08:08:34.000000000 -0800
-+++ /usr/sbin/checkrestarta 2016-02-22 08:19:16.013507231 -0800
-@@ -114,7 +114,7 @@
- def portage_fQuery(programs, packages):
-
- dpkgQuery = ["qfile", "-C"] + programs.keys()
-- dpkgProc = subprocess.Popen(dpkgQuery, stdout=subprocess.PIPE)
-+ dpkgProc = subprocess.Popen(dpkgQuery, stdout=subprocess.PIPE, cwd='/')
- for line in dpkgProc.stdout.readlines():
- packagename, program = line[:-1].split(' ')
- program = re.match('\((.*)\)', program).group(1)
diff --git a/app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch b/app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch
deleted file mode 100644
index f22f0b9e50c8..000000000000
--- a/app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/checkrestart
-+++ b/checkrestart
-@@ -216,7 +216,7 @@
- package.initscripts.append(path)
-
- # Remove duplicate inits
-- package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]
-+ package.initscripts = list(set(package.initscripts))
-
- restartable = []
- nonrestartable = []