mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
8 lines
368 B
Text
8 lines
368 B
Text
|
#!/bin/sh -x
|
||
|
|
||
|
logger -s -t "${INSTALL_PKG_SESSION_ID}" "Removing any previous installation"
|
||
|
pkgutil --pkg-info ${INSTALL_PKG_SESSION_ID} && pkgutil pkgutil --only-files --files ${INSTALL_PKG_SESSION_ID} | while read installed
|
||
|
do rm -v ${DSTVOLUME}${installed}
|
||
|
done | logger -s -t "${INSTALL_PKG_SESSION_ID}"
|
||
|
logger -s -t "${INSTALL_PKG_SESSION_ID}" "... removed"
|