Updated for restructuring

master
Marvin Johanning 2017-11-08 13:58:25 +01:00
parent c147ff5945
commit 470fa28101
1 changed files with 6 additions and 6 deletions

View File

@ -10,8 +10,8 @@ then
git clone https://github.com/Jeytas/RuXt.git ~/.ruxt
if [ $? == 0 ]; then echo "Cloning successful"; else echo "Cloning failed" && exit; fi
alias xt="ruby ~/.ruxt/extract.rb"
alias updatext="bash ~/.ruxt/update.sh"
alias xt="ruby ~/.ruxt/lib/bin/extract.rb"
alias updatext="bash ~/.ruxt/lib/bin/update.sh"
if [ $? == 0 ]; then echo "Setting aliases (xt and updatext) in current bash session was successful"; else echo "Setting aliases in current session was unsuccessful" && exit; fi
echo "If you see this message, everything should've been installed correctly. To ensure that it has, please run 'xt -h' and if you get some help regarding the program everything has been installed correctly. If this doesn't work, please try restarting your current Terminal. If that still doesn't solve the issue, please create anissue on this project's Github"
@ -22,12 +22,12 @@ else
git clone https://github.com/Jeytas/RuXt.git ~/.ruxt
if [ $? == 0 ]; then echo "Cloning successful"; else echo "Cloning failed" && exit; fi
alias xt="ruby ~/.ruxt/extract.rb"
alias updatext="bash ~/.ruxt/update.sh"
alias xt="ruby ~/.ruxt/lib/bin/extract.rb"
alias updatext="bash ~/.ruxt/lib/bin/update.sh"
if [ $? == 0 ]; then echo "Setting aliases (xt and updatext) in current bash session was successful"; else echo "Setting aliases in current session was unsuccessful" && exit; fi
echo 'alias updatext="bash ~/.ruxt/update.sh"' >> ~/.bashrc
echo 'alias xt="ruby ~/.ruxt/extract.rb"' >> ~/.bashrc
echo 'alias updatext="bash ~/.ruxt/lib/bin/update.sh"' >> ~/.bashrc
echo 'alias xt="ruby ~/.ruxt/lib/bin/extract.rb"' >> ~/.bashrc
if [ $? == 0 ]; then echo "Setting alias in ~/.bashrc has was successful"; else echo "Setting aliases in ~/.bashrc was unsuccessful" && exit; fi
echo "If you see this message, everything should've been installed correctly. To ensure that it has, please run 'xt -h' and if you get some help regarding the program everything has been installed correctly. If this doesn't work, please try restarting your current Terminal. If that still doesn't solve the issue, please create anissue on this project's Github"