mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-01-26 12:01:44 +01:00
15 lines
318 B
Bash
Executable File
15 lines
318 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/findutils ]; then
|
|
rm -f /usr/doc/findutils
|
|
fi
|
|
|
|
if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
|
|
install-info --quiet --remove find
|
|
if command -v install-docs > /dev/null 2>&1; then
|
|
install-docs -r findutils || true
|
|
fi
|
|
fi
|