| ... | ... |
@@ -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 |