Files
states/files/Install-Mastodon-Phase3.sh

10 lines
303 B
Bash

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