From b14c90501ba27cdfa48c0f2675a73dcdafe08607 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 8 May 2017 20:09:15 -0600 Subject: [PATCH] ignore failure to remove full parent path --- uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall.sh b/uninstall.sh index 189c8b3..315955c 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -30,7 +30,7 @@ $sudo_cmd rm -f /usr/local/bin/goldilocks $sudo_cmd rm -rf /usr/local/lib/node_modules/goldilocks $sudo_cmd rm -f "$MY_ROOT/$my_app_etc_config" -$sudo_cmd rmdir -p $(dirname "$MY_ROOT/$my_app_etc_config") +$sudo_cmd rmdir -p $(dirname "$MY_ROOT/$my_app_etc_config") 2>/dev/null $sudo_cmd rm -f "$MY_ROOT/$my_app_systemd_service" $sudo_cmd rm -f "$MY_ROOT/$my_app_systemd_tmpfiles" $sudo_cmd rm -f "$MY_ROOT/$my_app_launchd_service"