source:
dasscm/trunk/etc/profile.d/dasscm.sh@
833
Last change on this file since 833 was 777, checked in by , on Jul 24, 2009 at 10:54:15 PM | |
---|---|
File size: 282 bytes |
Rev | Line | |
---|---|---|
[774] | 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 | ||
[777] | 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.