mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-27 18:04:37 +00: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
|