Browse code

Merge "Removes the dependence with aptitude"

Jenkins authored on 2014/02/26 21:47:39
Showing 3 changed files
... ...
@@ -21,7 +21,7 @@ function cleanup_database_mysql {
21 21
     if is_ubuntu; then
22 22
         # Get ruthless with mysql
23 23
         stop_service $MYSQL
24
-        sudo aptitude purge -y ~nmysql-server
24
+        apt_get purge -y mysql*
25 25
         sudo rm -rf /var/lib/mysql
26 26
         return
27 27
     elif is_fedora; then
... ...
@@ -21,7 +21,7 @@ function cleanup_database_postgresql {
21 21
     stop_service postgresql
22 22
     if is_ubuntu; then
23 23
         # Get ruthless with mysql
24
-        sudo aptitude purge -y  ~npostgresql
24
+        apt_get purge -y postgresql*
25 25
         return
26 26
     elif is_fedora; then
27 27
         uninstall_package postgresql-server
... ...
@@ -67,7 +67,7 @@ function cleanup_rpc_backend {
67 67
         sudo killall epmd || sudo killall -9 epmd
68 68
         if is_ubuntu; then
69 69
             # And the Erlang runtime too
70
-            sudo aptitude purge -y ~nerlang
70
+            apt_get purge -y erlang*
71 71
         fi
72 72
     elif is_service_enabled qpid; then
73 73
         if is_fedora; then