diff --git a/build_tools/osx_package_scripts/preinstall b/build_tools/osx_package_scripts/preinstall index fcb5e8411..359174617 100755 --- a/build_tools/osx_package_scripts/preinstall +++ b/build_tools/osx_package_scripts/preinstall @@ -1,7 +1,7 @@ #!/bin/sh -x echo "Removing any previous installation" -pkgutil --pkg-info ${INSTALL_PKG_SESSION_ID} && pkgutil pkgutil --only-files --files ${INSTALL_PKG_SESSION_ID} | while read installed +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"