1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00
This commit is contained in:
Développeur égaré 2015-05-31 13:28:14 +02:00
parent e854de4419
commit d9e515e7bd

View file

@ -85,7 +85,7 @@ DIASPORASUDOERSCONF="diaspora ALL=(ALL:ALL) NOPASSWD: ALL #yunhost_diaspora"
sudo cat /etc/sudoers | grep yunhost_diaspora -q
if [ $? != 0 ] ; then sudo su -c "echo '$DIASPORASUDOERSCONF' >>/etc/sudoers" ; fi
sudo su - diaspora -c "rvm install 2.0"
sudo su - diaspora -c "rvm install 2.1"
#rm user from sudoers
sudo cat /etc/sudoers | grep yunhost_diaspora -q