You are not logged in.

#1 2017-01-31 22:42:03

Flisk
Member
Registered: 2017-01-31
Posts: 1

Arch Linux port of Debian's checkrestart utility

Debian has this really cool program available in the debian-goodies package which lists processes that need to be restarted in order to fully apply package upgrades. I like this tool a fair bit, so I ported it to work on Arch. Enjoy!

https://aur.archlinux.org/packages/arch-checkrestart/
https://gitla.in/flisk/arch-checkrestart

Offline

#2 2018-02-11 13:38:08

graybeard
Member
From: Northern New Jersey
Registered: 2016-01-17
Posts: 5

Re: Arch Linux port of Debian's checkrestart utility

I believe the code that starts at line 131 should read something like

    for f in blacklistFiles:
        try:
            file = open(f, "r")
            for line in file:
                if line.startswith("#"):
                    continue
                blacklist.append(re.compile(line.strip()))
        except IOError:
            print('The file', f, 'does not exist, ignoring ')

Thanks for the port

Offline

#3 2018-02-11 17:32:39

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Arch Linux port of Debian's checkrestart utility


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB