Fix dpkg error occur when installing rvm.(test in ubuntu 14.04)
This commit is contained in:
parent
8e5f560467
commit
afcbffe78d
|
@ -92,6 +92,7 @@ fi
|
||||||
if [ -z $(which rvm) ]; then
|
if [ -z $(which rvm) ]; then
|
||||||
sudo apt-get install software-properties-common -y
|
sudo apt-get install software-properties-common -y
|
||||||
sudo apt-get install --reinstall ca-certificates -y
|
sudo apt-get install --reinstall ca-certificates -y
|
||||||
|
sudo apt-get install dpkg -y
|
||||||
sudo apt-add-repository -y ppa:rael-gc/rvm
|
sudo apt-add-repository -y ppa:rael-gc/rvm
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install rvm -y
|
sudo apt-get install rvm -y
|
||||||
|
|
Loading…
Reference in New Issue