projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82ff63a
)
Added initial stat command
author
Andrew DeFaria
<Andrew@DeFaria.com>
Tue, 7 Nov 2017 22:37:52 +0000
(14:37 -0800)
committer
Andrew DeFaria
<Andrew@DeFaria.com>
Tue, 7 Nov 2017 22:37:52 +0000
(14:37 -0800)
rc/setup_rc
patch
|
blob
|
history
diff --git
a/rc/setup_rc
b/rc/setup_rc
index
dfb5786
..
b80e287
100755
(executable)
--- 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}')