aboutsummaryrefslogtreecommitdiff
path: root/contrib/pkginstaller/scripts/preinstall
diff options
context:
space:
mode:
authorAnjan Nath <kaludios@gmail.com>2022-06-08 14:38:20 +0530
committerAnjan Nath <kaludios@gmail.com>2022-07-26 21:05:17 +0530
commitc35ae7640cfa9503c814869347252025a9037637 (patch)
tree9dccce57e715c6c01a91c3a78f9e2ed39abfa7a2 /contrib/pkginstaller/scripts/preinstall
parentee937c518e7efb9c47d21a4e1050b966ca02d005 (diff)
downloadpodman-c35ae7640cfa9503c814869347252025a9037637.tar.gz
podman-c35ae7640cfa9503c814869347252025a9037637.tar.bz2
podman-c35ae7640cfa9503c814869347252025a9037637.zip
Add support for building macOS pkg installer
it installs podman and supporting binaries along with qemu to have a functioning podman install using a pkg podman and podman-mac-helper is compiled from source gvproxy binary is downloaded from its github releases and qemu from github release of containers/podman-machine-qemu [NO NEW TESTS NEEDED] Signed-off-by: Anjan Nath <kaludios@gmail.com>
Diffstat (limited to 'contrib/pkginstaller/scripts/preinstall')
-rwxr-xr-xcontrib/pkginstaller/scripts/preinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/pkginstaller/scripts/preinstall b/contrib/pkginstaller/scripts/preinstall
new file mode 100755
index 000000000..a381868fc
--- /dev/null
+++ b/contrib/pkginstaller/scripts/preinstall
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+set -e
+
+rm -rf /opt/podman