forked from osmocom/wireshark
macos-setup: various cleanups.
In uninstall_autoconf, when running uninstall subfunctions, pass the
arguments to the subfunctions.
When uninstalling Ninja, remove the "we've finished installing this"
indicator file.
Get rid of a debugging "set +x".
(cherry picked from commit 9fbf79c045
)
This commit is contained in:
parent
7901947b11
commit
e1535a9aa3
|
@ -327,8 +327,8 @@ uninstall_autoconf() {
|
|||
#
|
||||
# automake and libtool depend on this, so uninstall them.
|
||||
#
|
||||
uninstall_libtool
|
||||
uninstall_automake
|
||||
uninstall_libtool "$@"
|
||||
uninstall_automake "$@"
|
||||
|
||||
echo "Uninstalling GNU autoconf:"
|
||||
cd autoconf-$installed_autoconf_version
|
||||
|
@ -447,6 +447,7 @@ uninstall_ninja() {
|
|||
if [ ! -z "$installed_ninja_version" ]; then
|
||||
echo "Uninstalling Ninja:"
|
||||
sudo rm /usr/local/bin/ninja
|
||||
rm ninja-$installed_ninja_version-done
|
||||
if [ "$#" -eq 1 -a "$1" = "-r" ] ; then
|
||||
rm -f ninja-mac-v$installed_ninja_version.zip
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue