From 23195646dc3d9685be75a063434b38b6a14cdcd3 Mon Sep 17 00:00:00 2001 From: Anjan Nath Date: Mon, 19 Sep 2022 12:01:40 +0530 Subject: 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 --- contrib/pkginstaller/scripts/preinstall | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/pkginstaller/scripts/preinstall') diff --git a/contrib/pkginstaller/scripts/preinstall b/contrib/pkginstaller/scripts/preinstall index a381868fc..22336222f 100755 --- a/contrib/pkginstaller/scripts/preinstall +++ b/contrib/pkginstaller/scripts/preinstall @@ -3,3 +3,7 @@ set -e rm -rf /opt/podman + +if [ ! -d "/etc/paths.d" ]; then + mkdir -p /etc/paths.d +fi -- cgit v1.2.3-54-g00ecf