print when complete
This commit is contained in:
parent
b14c90501b
commit
0b877f9c9c
|
@ -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 -rf /usr/local/lib/node_modules/goldilocks
|
||||||
|
|
||||||
$sudo_cmd rm -f "$MY_ROOT/$my_app_etc_config"
|
$sudo_cmd rm -f "$MY_ROOT/$my_app_etc_config"
|
||||||
$sudo_cmd rmdir -p $(dirname "$MY_ROOT/$my_app_etc_config") 2>/dev/null
|
$sudo_cmd rmdir -p $(dirname "$MY_ROOT/$my_app_etc_config") 2>/dev/null || true
|
||||||
$sudo_cmd rm -f "$MY_ROOT/$my_app_systemd_service"
|
$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_systemd_tmpfiles"
|
||||||
$sudo_cmd rm -f "$MY_ROOT/$my_app_launchd_service"
|
$sudo_cmd rm -f "$MY_ROOT/$my_app_launchd_service"
|
||||||
|
@ -41,3 +41,7 @@ $sudo_cmd rm -rf /var/log/$my_app_name
|
||||||
|
|
||||||
# TODO flag for --purge
|
# TODO flag for --purge
|
||||||
#rm -rf /etc/goldilocks
|
#rm -rf /etc/goldilocks
|
||||||
|
|
||||||
|
# TODO trap uninstall function
|
||||||
|
|
||||||
|
echo "uninstall complete: $my_app_name"
|
||||||
|
|
Loading…
Reference in New Issue