]> git.pld-linux.org Git - packages/screen.git/commitdiff
- new {un}registering procedure for info pages using /usr/sbin/fix-info-dir,
authorpius <pius@pld-linux.org>
Sun, 19 Sep 1999 10:20:38 +0000 (10:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- standarization to "* text: (link).  description" index info entries format.

Changed files:
    screen.spec -> 1.17

screen.spec

index c516ae06218a25dcc687f7f75f45f2fd5c5a435f..0f113903ffd835f18463609a98bbe5e82cb3f3b4 100644 (file)
@@ -16,7 +16,7 @@ Patch2:               screen-tmprace.patch
 Patch3:                screen-info.patch
 Patch4:                screen-misc.patch
 Patch5:                screen-tty.patch
-Prereq:                /sbin/install-info
+Prereq:                /usr/sbin/fix-info-dir
 BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
@@ -77,12 +77,10 @@ gzip -9nf $RPM_BUILD_ROOT/{%{_infodir}/screen.info*,%{_mandir}/man1/*} \
        NEWS README FAQ ChangeLog
 
 %post
-/sbin/install-info %{_infodir}/screen.info.gz /etc/info-dir
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %preun
-if [ "$1" = "0" ]; then
-       /sbin/install-info --delete %{_infodir}/screen.info.gz /etc/info-dir
-fi
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.096593 seconds and 4 git commands to generate.