Files
podman/contrib/pkginstaller/scripts/preinstall
Brent Baude e4a135a6ac Add man pages to Mac installer
This PR adds the man1 pages to the mac installer.  It also sticks a
small configuration file into /usr/local/etc/man.d that allows macos
and the man binary to look for the podman pages in /opt/podman/docs/man.

Fixes #24756

Signed-off-by: Brent Baude <bbaude@redhat.com>
2024-12-10 10:05:46 -06:00

16 lines
258 B
Bash
Executable File

#!/bin/bash
set -e
rm -rf /opt/podman
if [ ! -d "/etc/paths.d" ]; then
mkdir -p /etc/paths.d
fi
# Create directory to be able to add podman
# man pages into the "man" path
if [ ! -d "/usr/local/etc/man.d" ]; then
mkdir -p /usr/local/etc/man.d
fi