From 98c5b73d66997436200bad81b4829e3195688aeb Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 17 Sep 2016 18:51:19 +0100 Subject: [PATCH] mac_pkg_list_todel --- etc/profile.d/mac.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/profile.d/mac.sh b/etc/profile.d/mac.sh index 14fe6422..1f886904 100644 --- a/etc/profile.d/mac.sh +++ b/etc/profile.d/mac.sh @@ -73,6 +73,7 @@ mac_xmessage() { mac_pkg_list_todel() { pkgutil --only-files --files "$1" && \ for d in $(pkgutil --only-dirs --files "$1"); do [ -d "/$d" ] && [[ -z $(ls -A "/$d") ]] || echo $d; done + echo pkgutil --forget "$1" } mac_install_dmg() { -- 2.47.3