Files
states/files/Install-Mastodon-Phase3.sh
2018-05-21 13:03:35 +02:00

10 lines
330 B
Bash

#!/bin/bash
# https://anystack.xyz/how-to-install-mastodon-ubuntu/
echo "Phase 3: Preparation de l\'environnement"
cd $HOME
git clone https://github.com/rbenv/rbenv.git $HOME/.rbenv || exit 101
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> $HOME/.bashrc
echo 'eval "$(rbenv init -)"' >> $HOME/.bashrc
source $HOME/.bashrc
exit 0