*** empty log message ***
[findutils.git] / debian / postinst
blob9abc64c1295ea6ef59ebdfb8171f328dd1a93b64
1 #! /bin/sh
3 set -e
5 if [ "$1" = "configure" ]; then
6 install-info --quiet --section "General commands" "General commands" \
7 /usr/share/info/find.info.gz
8 if [ -d /usr/doc -a ! -e /usr/doc/findutils -a -d /usr/share/doc/findutils ]; then
9 ln -sf ../share/doc/findutils /usr/doc
11 if command -v install-docs > /dev/null 2>&1; then
12 install-docs -i /usr/share/doc-base/findutils
16 # In older releases, /var/lib/locate was owned by nobody
17 # findutils_4.1-12 installed /var/lib/locate as root:root
18 chown root:root /var/lib/locate
19 chmod 755 /var/lib/locate
21 # In some releases, updatedb.conf was installed executable
22 if [ -x /etc/updatedb.conf ]; then
23 chmod 644 /etc/updatedb.conf