2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-30 22:03:29 +00:00
fish-shell/build_tools/osx_package_scripts/preinstall

8 lines
245 B
Text
Raw Normal View History

#!/bin/sh -x
echo "Removing any previous installation"
2022-01-23 04:08:32 +00:00
pkgutil --pkg-info ${INSTALL_PKG_SESSION_ID} && pkgutil --only-files --files ${INSTALL_PKG_SESSION_ID} | while read installed
do rm -v ${DSTVOLUME}${installed}
done
echo "... removed"