commit | 2c678ccf632ed17fde609c210dcb698e08f5395c | [log] [tgz] |
---|---|---|
author | Ian Wienand <iwienand@redhat.com> | Wed Mar 20 13:00:44 2013 +1100 |
committer | Ian Wienand <iwienand@redhat.com> | Tue Apr 02 13:47:05 2013 +1100 |
tree | 8b4fec29901fbea66e0915e5aa5dc915f6e7d5cd | |
parent | e4f0cd7eed3981086b4a0db967501fffa6a07c1e [diff] [blame] |
Use sudo to remove packages yum and others need root to remove packages Change-Id: I556505636c41296f9188c248dff13b85616c667c
diff --git a/functions b/functions index 0bbf477..edc4bf9 100644 --- a/functions +++ b/functions
@@ -781,9 +781,9 @@ if is_ubuntu; then apt_get purge "$@" elif is_fedora; then - yum remove -y "$@" + sudo yum remove -y "$@" elif is_suse; then - rpm -e "$@" + sudo rpm -e "$@" else exit_distro_not_supported "uninstalling packages" fi