Don't be verbose in fixfiles if there is not tty
This commit is contained in:
parent
5dc80ea534
commit
f17032379c
@ -657375,6 +657375,18 @@ index fb5a24c..3668abe 100644
|
|||||||
|
|
||||||
if self.__options.setype:
|
if self.__options.setype:
|
||||||
self.setype = self.__options.setype
|
self.setype = self.__options.setype
|
||||||
|
diff --git a/policycoreutils/scripts/fixfiles b/policycoreutils/scripts/fixfiles
|
||||||
|
index 5c29eb9..75d3c8d 100755
|
||||||
|
--- a/policycoreutils/scripts/fixfiles
|
||||||
|
+++ b/policycoreutils/scripts/fixfiles
|
||||||
|
@@ -116,6 +116,7 @@ exclude_dirs() {
|
||||||
|
fullFlag=0
|
||||||
|
BOOTTIME=""
|
||||||
|
VERBOSE="-p"
|
||||||
|
+[ -t 1 ] || VERBOSE=""
|
||||||
|
FORCEFLAG=""
|
||||||
|
DIRS=""
|
||||||
|
RPMILES=""
|
||||||
diff --git a/policycoreutils/semanage/Makefile b/policycoreutils/semanage/Makefile
|
diff --git a/policycoreutils/semanage/Makefile b/policycoreutils/semanage/Makefile
|
||||||
index 8fc8e0b..9bb4f24 100644
|
index 8fc8e0b..9bb4f24 100644
|
||||||
--- a/policycoreutils/semanage/Makefile
|
--- a/policycoreutils/semanage/Makefile
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.2.5
|
Version: 2.2.5
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
# Based on git repository with tag 20101221
|
# Based on git repository with tag 20101221
|
||||||
@ -383,6 +383,9 @@ The policycoreutils-restorecond package contains the restorecond service.
|
|||||||
%systemd_postun_with_restart restorecond.service
|
%systemd_postun_with_restart restorecond.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 14 2014 Dan Walsh <dwalsh@redhat.com> - 2.2.5-6
|
||||||
|
- Don't be verbose in fixfiles if there is not tty
|
||||||
|
|
||||||
* Thu Feb 13 2014 Dan Walsh <dwalsh@redhat.com> - 2.2.5-5
|
* Thu Feb 13 2014 Dan Walsh <dwalsh@redhat.com> - 2.2.5-5
|
||||||
- Yum should only be required for policycoreutils-devel
|
- Yum should only be required for policycoreutils-devel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user