Amélioration des phase 3 et 4
This commit is contained in:
@@ -2,8 +2,12 @@
|
||||
# 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
|
||||
cd $HOME
|
||||
pwd
|
||||
sleep 20
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user