source:
dasscm/trunk/etc/profile.d/dasscm.sh@
866
Last change on this file since 866 was 777, checked in by , on Jul 24, 2009 at 10:54:15 PM | |
---|---|
File size: 282 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | if [ `whoami` = "root" ]; then |
4 | if ! dasscm check > /dev/null; then |
5 | printf "* DASSCM warnings *\n" |
6 | dasscm status |
7 | printf "* please check-in these changes first *\n" |
8 | fi |
9 | fi |
10 | |
11 | # TODO: check configured |
12 | # alternative for non-root: X=`echo | sudo -S dasscm check` |
Note:
See TracBrowser
for help on using the repository browser.