1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00

correction on last add

This commit is contained in:
Développeur égaré 2015-06-10 19:58:41 +02:00
parent caacfbffea
commit 4f276be5b4

View file

@ -86,7 +86,7 @@ if [ $? != 0 ] ; then sudo su -c "echo '$DIASPORASUDOERSCONF' >>/etc/sudoers" ;
sudo su - diaspora -c "rvm install 2.1"
sudo su - diaspora -c "env REALLY_GEM_UPDATE_SYSTEM=1 gem update --system --no-user-install"
sudo su - diaspora -c "x=1; RET=1; while [ $x -le 5 ] && [ \"$RET\" != 0 ] ; do gem install bundler ; RET=$? ; x=$(( $x + 1 )) ; done"
sudo su - diaspora -c "x=1; RET=1; while [ \$x -le 5 ] && [ \"\$RET\" != 0 ] ; do gem install bundler ; RET=\$? ; x=\$(( \$x + 1 )) ; done"
#rm user from sudoers
sudo cat /etc/sudoers | grep yunhost_diaspora -q