mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
install.run: move ifs to the end
This commit is contained in:
parent
48b0086a37
commit
8b758646d2
23
install.run
23
install.run
@ -4,18 +4,6 @@ set -x
|
||||
|
||||
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 tmux.conf > ~/.tmux.conf
|
||||
cat zshrc > ~/.zshrc
|
||||
@ -43,6 +31,17 @@ bash -x ./chmod& 2>/dev/null
|
||||
cat chmod > ~/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
|
||||
# vim : set ft=sh :
|
||||
#chmod 700 $HOME -R
|
||||
|
Loading…
Reference in New Issue
Block a user