summaryrefslogtreecommitdiffstats
path: root/osx/preflight
blob: 169551b3525040c032882252fcfd9e9b76655d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
#
# Remove old bcfg2 cruft
#
# ${3} is the destination volume so that this works correctly
# when being installed to volumes other than the current OS.

/bin/rm -Rvf "${3}"{SITELIBDIR}/Bcfg2*
/bin/rm -Rvf "${3}"/usr/local/bin/bcfg2*
/bin/rm -Rvf "${3}{DATADIR}/share/bcfg2"
/bin/rm -Rvf "${3}{DATADIR}/share/man/man8/bcfg2*"