summaryrefslogtreecommitdiff
path: root/contrib/pkginstaller/scripts/preinstall
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pkginstaller/scripts/preinstall')
-rwxr-xr-xcontrib/pkginstaller/scripts/preinstall4
1 files changed, 4 insertions, 0 deletions
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