From 92aac60b595de6a116bd240621d897e5bdccd3bb Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 17 Sep 2016 17:03:12 +0100 Subject: [PATCH] mac_install_dmg --- etc/profile.d/mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile.d/mac.sh b/etc/profile.d/mac.sh index 5b3913e1..a45e94a9 100644 --- a/etc/profile.d/mac.sh +++ b/etc/profile.d/mac.sh @@ -72,7 +72,7 @@ mac_xmessage() { mac_install_dmg() { local MOUNTDIR=$(echo `hdiutil mount "$1" | tail -1 | awk '{$1=$2=""; print $0}'` | xargs -0 echo) - sudo installer --verbose -pkg "${MOUNTDIR}/"*.pkg -target / + sudo installer -verbose -pkg "${MOUNTDIR}/"*.pkg -target / sudo hdiutil detach "${MOUNTDIR}" } -- 2.47.3