Files
podman/contrib/pkginstaller/scripts/preinstall
Anjan Nath 23195646dc pkginstaller: use path_helper to add podman and helpers to path
path_helper(8) appends the contents of /etc/paths.d/podman-pkg to the
PATH env

[NO NEW TESTS NEEDED]

Signed-off-by: Anjan Nath <kaludios@gmail.com>
2022-09-19 12:08:01 +05:30

10 lines
103 B
Bash
Executable File

#!/bin/bash
set -e
rm -rf /opt/podman
if [ ! -d "/etc/paths.d" ]; then
mkdir -p /etc/paths.d
fi