mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-14 04:39:33 +00: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>
15 lines
258 B
Bash
Executable file
15 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
|