mirror of
https://github.com/containers/podman.git
synced 2025-12-12 17:57:31 +08:00
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>
16 lines
258 B
Bash
Executable File
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
|