From 8f19c5cf59a93e1ae56ec1854d374208781eca51 Mon Sep 17 00:00:00 2001 From: ewt Date: Tue, 20 May 1997 16:21:17 +0000 Subject: [PATCH] remove (none) entries during --setperms, --setugids CVS patchset: 1651 CVS date: 1997/05/20 16:21:17 --- rpmpopt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpmpopt b/rpmpopt index df18ddfe2..15e0b4a19 100644 --- a/rpmpopt +++ b/rpmpopt @@ -10,11 +10,11 @@ verify script:\ %{VERIFYSCRIPT}\n' rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES:shescape}\n]' \ - --pipe "sed 's/^.../chmod /' | sh" + --pipe "grep -v \(none\) | sed 's/^.../chmod /' | sh" rpm alias --setugids -q --qf \ '[chown %{FILEUSERNAME:shescape}:%{FILEGROUPNAME:shescape} %{FILENAMES:shescape}\n]' \ - --pipe "sh" + --pipe "grep -v \(none\) | sh" rpm alias --requires --qf \ "[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]"