install.run: move ifs to the end

This commit is contained in:
Mikaela Suomalainen 2014-10-09 22:01:11 +03:00
parent 48b0086a37
commit 8b758646d2

View File

@ -4,18 +4,6 @@ set -x
export MIKAELA_GREP=$HOME/.MIKAELA_GREP export MIKAELA_GREP=$HOME/.MIKAELA_GREP
if [ -f $HOME/.MKAYSIGREP ]
then
mv $HOME/.MKAYSIGREP $MIKAELA_GREP
fi
if [ -f "$MIKAELA_GREP" ]
then
echo "MIKAELA_GREP has been used previously, Installing/Upgrading."
bash -x ./.install.MIKAELA_GREP.run
fi
cat bashrc > ~/.bashrc cat bashrc > ~/.bashrc
cat tmux.conf > ~/.tmux.conf cat tmux.conf > ~/.tmux.conf
cat zshrc > ~/.zshrc cat zshrc > ~/.zshrc
@ -43,6 +31,17 @@ bash -x ./chmod& 2>/dev/null
cat chmod > ~/chmod cat chmod > ~/chmod
chmod a+xr ~/chmod chmod a+xr ~/chmod
if [ -f $HOME/.MKAYSIGREP ]
then
mv $HOME/.MKAYSIGREP $MIKAELA_GREP
fi
if [ -f "$MIKAELA_GREP" ]
then
echo "MIKAELA_GREP has been used previously, Installing/Upgrading."
bash -x ./.install.MIKAELA_GREP.run
fi
set +x set +x
# vim : set ft=sh : # vim : set ft=sh :
#chmod 700 $HOME -R #chmod 700 $HOME -R