This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [Attention Maintainer] man-db
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 19 Jul 2017 19:53:55 +0200
- Subject: Re: [Attention Maintainer] man-db
- Authentication-results: sourceware.org; auth=none
- References: <87inio73bt.fsf@Rainer.invalid>
Achim Gratz writes:
> This package currently has a perpetual postinstall script to keep the
> database indexed, but doesn't provide for a way to create the initial
> database during install. I suggest to create another sub-package
> (perhaps called man-db-index) that simply creates an empty file
> /var/cache/man-db/index.dat on installation, so that the perpetual
> install script will trigger. I would prefer if that file was created by
> a normal postinstall script instead of directly provided in the package
> since otherwise deinstallation of man-db-index would delete the
> database.
OK, I just tried that, the path of course needs to be
/var/cache/man/index.db
and the file created must not be zero size or the current perpetual
install script won't trigger.
Also, that perpetual install script should run last, so it needs to be
named differently (my own local package names it zp_zzz_man-db.dash for
that reason).
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada