mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
add retry for curl
This commit is contained in:
parent
a378426f87
commit
4817985ab5
1 changed files with 1 additions and 2 deletions
|
@ -77,8 +77,7 @@ sudo adduser --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-logi
|
|||
sudo chown -R diaspora:diaspora $final_path
|
||||
|
||||
# Config RVM and force get app deps (for debug)
|
||||
sudo su - diaspora -c "curl -sSL https://rvm.io/mpapis.asc | gpg --import - ; curl -L dspr.tk/1t | bash;"
|
||||
#sudo su - diaspora -c "rvm autolibs read-fail ; rvm install 2.0 ; rvm use 2.0.0 --default"
|
||||
sudo su - diaspora -c "curl --retry 5 -sSL https://rvm.io/mpapis.asc | gpg --import - ; curl --retry 5 -L dspr.tk/1t | bash;"
|
||||
|
||||
#add user to sudoers for install
|
||||
DIASPORASUDOERSCONF="diaspora ALL=(ALL:ALL) NOPASSWD: ALL #yunhost_diaspora"
|
||||
|
|
Loading…
Add table
Reference in a new issue