]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- removed Prereq: /usr/sbin/fix-info-dir
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Mon, 1 May 2000 20:11:40 +0000 (20:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix-info-dir in %pre/post is executed only when info is already
  installed

Changed files:
    glibc.spec -> 1.90

glibc.spec

index 07ab2bd8abb010b9be37cf32c9b779a633b6e409..1b0eb1c5e9e52cf10a02f6bc4fc20ec5039d243d 100644 (file)
@@ -91,7 +91,6 @@ Summary(pl):  Dodatkowe biblioteki wymagane podczas kompilacji
 Summary(tr):   Geliþtirme için gerekli diðer kitaplýklar
 Group:         Development/Libraries
 Group(pl):     Programowanie/Biblioteki
-Prereq:                /usr/sbin/fix-info-dir
 Requires:      %{name} = %{version}
 
 %description devel
@@ -314,10 +313,10 @@ strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.* \
 %postun -p /sbin/ldconfig
 
 %post devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %post -n nscd
 /sbin/chkconfig --add nscd
This page took 0.05807 seconds and 4 git commands to generate.