Skip to content
Snippets Groups Projects
Commit 1ca77863 authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

libc.preinst: fixup regex for pidof replacement

parent 331aa120
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,7 @@ then
if [ -n "$preversion" ] && [ -x "$(command -v ischroot)" ] && ! ischroot; then
# NSS authentication trouble guard
if dpkg --compare-versions "$preversion" lt DEB_VERSION_UPSTREAM; then
if grep -E -q -z '/(xscreensaver|xlockmore)' /proc/*/cmdline 2>/dev/null; then
if grep -E -q '(^|/)(xscreensaver|xlockmore)' /proc/*/cmdline 2>/dev/null; then
if [ "$USE_DEBCONF" ] ; then
db_version 2.0
db_reset glibc/disable-screensaver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment