From 69abad72e1975df993b712ecfe6166f47ae5b302 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 9 Oct 2014 21:44:37 +0300 Subject: [PATCH] install.run: detect MIKAELA_GREP and run it --- install.run | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/install.run b/install.run index 0ad9f7d4..1b735e2c 100755 --- a/install.run +++ b/install.run @@ -1,5 +1,20 @@ #!/usr/bin/env bash # Do not use this script unless you know what you are doing! + +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.MKAYSIGREP.run +fi + + cat bashrc > ~/.bashrc cat tmux.conf > ~/.tmux.conf cat zshrc > ~/.zshrc