Browse code

Merge "Use sudo to remove packages"

Jenkins authored on 2013/04/02 16:47:24
Showing 1 changed files
... ...
@@ -781,9 +781,9 @@ function uninstall_package() {
781 781
     if is_ubuntu; then
782 782
         apt_get purge "$@"
783 783
     elif is_fedora; then
784
-        yum remove -y "$@"
784
+        sudo yum remove -y "$@"
785 785
     elif is_suse; then
786
-        rpm -e "$@"
786
+        sudo rpm -e "$@"
787 787
     else
788 788
         exit_distro_not_supported "uninstalling packages"
789 789
     fi