Opened 6 years ago

Closed 6 years ago

#1407 closed defect (fixed)

Makewhatis not always available

Reported by: hawson@… Owned by: Dave Love <d.love@…>
Priority: normal Milestone:
Component: sge Version: 8.0.0d
Severity: minor Keywords:
Cc:

Description

In recent versions of Fedora (at least version 15, possibly version
14), the 'makewhatis' program has been replaced with 'mandb'.

The RPM .spec file distributed should detect and handle this automatically.

--
Jesse Becker

Change History (2)

comment:1 Changed 6 years ago by dlove

Is this good enough?

--- old-sge/gridengine.spec
+++ new-sge/gridengine.spec
@@ -215,7 +222,12 @@

-g %username -M -r -c 'Grid Engine admin' %username 2>/dev/null
:


%post

-makewhatis %{sge_home}/man
+if [ -f /usr/sbin/mandb ]; then
+ # Later Fedora
+ mandb %{sge_home}/man
+else
+ makewhatis %{sge_home}/man
+fi

%files
%defattr(-,root,root,-)

comment:2 Changed 6 years ago by Dave Love <d.love@…>

  • Owner set to Dave Love <d.love@…>
  • Resolution set to fixed
  • Status changed from new to closed

In [4141/sge]:

(The changeset message doesn't reference this ticket)

Note: See TracTickets for help on using tickets.