Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

remove unused packages #6

Merged
merged 1 commit into from

3 participants

@michaelnsj
Owner

remove mysql and subversion package.
we may remove more packages, but need have a good understanding for them.

@arkxu

looks good.

@shao shao merged commit 2c8fbe3 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 5, 2012
  1. @michaelnsj

    remove unused packages

    michaelnsj authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 dev_setup/bin/vcap_stop_for_export.sh
View
6 dev_setup/bin/vcap_stop_for_export.sh
@@ -200,6 +200,11 @@ fi
sudo /etc/init.d/nats_server stop
sudo /etc/init.d/redis-server stop
+# let go to remove some unused packages
+echo "start to remvoe some unused packages"
+sudo apt-get remove mysql-common -y
+sudo apt-get remove subversion -y
+
sudo apt-get autoremove -y --force-yes
sudo apt-get clean
sudo apt-get autoclean
@@ -223,6 +228,7 @@ if [ $? -eq 0 ]; then
sudo -i rvm remove default
echo "yes" | sudo -i rvm implode
sudo rm /etc/rvmrc /root/.rvmrc
+ sudo rm -rf /root/.gem
fi
fi
Something went wrong with that request. Please try again.