summarylogtreecommitdiffstats
path: root/shenv.install
blob: e3ad83f5c845ff3c556e84037bd7695b29b15217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    echo "Initializing shenv ..."
    echo "Checking if a previous installation of shenv exists ..."
    if [ -d "$HOME/.shenv" ]; then
        echo "There already exists a previous installation at $HOME/.shenv"
        echo "Skipping ..."
    else
        echo "Creating $HOME/.shenv ..."
        mkdir $HOME/.shenv
    fi

    echo "NOTE: You need include /usr/share/shenv/bash/shenvrc in your .bashrc" 
    echo "Thanks for installation. For queries, contact mail[at]sathyamvellal[dot]in"
}