X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fsetup_rc;h=b80e28798e644c791fa6b36ea3984d776c97a165;hb=cc7d7d67a7e97060e13d1fcd1bdee2ed64969595;hp=dfb57866a02920b2e408cebea6350f46ea7987f3;hpb=82ff63ad8cecdfe19030d4f2d238d8d88116d106;p=clearscm.git diff --git a/rc/setup_rc b/rc/setup_rc index dfb5786..b80e287 100755 --- a/rc/setup_rc +++ b/rc/setup_rc @@ -54,6 +54,8 @@ if [ ! -d $HOME/.rc ]; then fi # Check to see if we were already setup +symlink=$(stat -c %N ~/.bashrc | awk '{print $2}') + if [ "$symlink" = "->" ]; then to=$(stat -c %N ~/.bashrc | awk '{print $NF}')