From: Martin Winter Date: Wed, 29 Nov 2017 09:05:46 +0000 (-0800) Subject: debianpkg: Fix lintian warning "command-with-path-in-maintainer-script" X-Git-Tag: frr-4.0-dev~110^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=81f810f0f6ad2df4ce4860ba313b59e484e315df;p=mirror%2Ffrr.git debianpkg: Fix lintian warning "command-with-path-in-maintainer-script" Signed-off-by: Martin Winter --- diff --git a/debianpkg/frr.preinst b/debianpkg/frr.preinst index 29162e3b56..467bea9718 100644 --- a/debianpkg/frr.preinst +++ b/debianpkg/frr.preinst @@ -30,7 +30,7 @@ fi # frr and as such we need to intelligently # check to see if the frr user is in the frrvty # group. -if ! /usr/bin/id frr | grep &>/dev/null 'frrvty'; then +if ! id frr | grep &>/dev/null 'frrvty'; then usermod -a -G frrvty frr >/dev/null fi