From f2a65ab8cebcc64971a43a22a1feaf64fdf879bd Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 1 Jul 2017 11:13:34 +0200 Subject: app-admin/checkrestart: Remove last-rited pkg --- app-admin/checkrestart/files/checkrestart-0.47-cwd.patch | 11 ----------- .../files/checkrestart-0.47-list-comprehension-fix.patch | 11 ----------- 2 files changed, 22 deletions(-) delete mode 100644 app-admin/checkrestart/files/checkrestart-0.47-cwd.patch delete mode 100644 app-admin/checkrestart/files/checkrestart-0.47-list-comprehension-fix.patch (limited to 'app-admin/checkrestart/files') 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 = [] -- cgit v1.2.3-65-gdbad