Merge "Removes the dependence with aptitude"
This commit is contained in:
commit
ebd1321fcb
@ -21,7 +21,7 @@ function cleanup_database_mysql {
|
|||||||
if is_ubuntu; then
|
if is_ubuntu; then
|
||||||
# Get ruthless with mysql
|
# Get ruthless with mysql
|
||||||
stop_service $MYSQL
|
stop_service $MYSQL
|
||||||
sudo aptitude purge -y ~nmysql-server
|
apt_get purge -y mysql*
|
||||||
sudo rm -rf /var/lib/mysql
|
sudo rm -rf /var/lib/mysql
|
||||||
return
|
return
|
||||||
elif is_fedora; then
|
elif is_fedora; then
|
||||||
|
@ -21,7 +21,7 @@ function cleanup_database_postgresql {
|
|||||||
stop_service postgresql
|
stop_service postgresql
|
||||||
if is_ubuntu; then
|
if is_ubuntu; then
|
||||||
# Get ruthless with mysql
|
# Get ruthless with mysql
|
||||||
sudo aptitude purge -y ~npostgresql
|
apt_get purge -y postgresql*
|
||||||
return
|
return
|
||||||
elif is_fedora; then
|
elif is_fedora; then
|
||||||
uninstall_package postgresql-server
|
uninstall_package postgresql-server
|
||||||
|
@ -67,7 +67,7 @@ function cleanup_rpc_backend {
|
|||||||
sudo killall epmd || sudo killall -9 epmd
|
sudo killall epmd || sudo killall -9 epmd
|
||||||
if is_ubuntu; then
|
if is_ubuntu; then
|
||||||
# And the Erlang runtime too
|
# And the Erlang runtime too
|
||||||
sudo aptitude purge -y ~nerlang
|
apt_get purge -y erlang*
|
||||||
fi
|
fi
|
||||||
elif is_service_enabled qpid; then
|
elif is_service_enabled qpid; then
|
||||||
if is_fedora; then
|
if is_fedora; then
|
||||||
|
Loading…
Reference in New Issue
Block a user