Fix dpkg error occur when installing rvm.(test in ubuntu 14.04)

This commit is contained in:
BoHung Chiu 2022-02-15 13:04:19 +08:00
parent 8e5f560467
commit afcbffe78d
1 changed files with 1 additions and 0 deletions

View File

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