diff options
| author | Adam Stokes <[email protected]> | 2018-06-19 14:40:57 -0400 |
|---|---|---|
| committer | Adam Stokes <[email protected]> | 2018-06-19 14:40:57 -0400 |
| commit | c58f0316e6651dc9b1c2b14cb67f7a714e45bd24 (patch) | |
| tree | 8662683c8af027d843b0b437a8326983865a9017 | |
| parent | bd206bc70573b57ecd4109dd821e16b09f2377a9 (diff) | |
Update wording if both snaps are installed
Signed-off-by: Adam Stokes <[email protected]>
| -rwxr-xr-x | debian/postrm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/debian/postrm b/debian/postrm index 354d824..e9fe515 100755 --- a/debian/postrm +++ b/debian/postrm @@ -6,17 +6,19 @@ if [ "$1" != "remove" ]; then exit 0 fi +echo "The kubernetes package has been removed." + if $(snap list|grep -q 'microk8s') >/dev/null; then - echo "The kubernetes package has been removed, however, microk8s" - echo "is still installed and running on the system." + echo "" + echo "Note: microk8s is still installed and running on the system." echo "" echo "If the microk8s cluster is no longer needed, please run 'sudo snap remove microk8s'" echo "" fi if $(snap list|grep -q 'conjure-up') >/dev/null; then - echo "The kubernetes package has been removed, however, conjure-up" - echo "is still installed on the system." + echo "" + echo "Note: conjure-up is still installed on the system." if $(juju controllers >/dev/null 2>&1) && $(juju models|grep -q 'conjure'); then echo "" echo "Additionally, conjure-up has deployed juju controllers and models." |
