source: dasscm/trunk/etc/profile.d/dasscm.sh@ 878

Last change on this file since 878 was 777, checked in by joergs, on Jul 24, 2009 at 10:54:15 PM

initial structure

File size: 282 bytes
RevLine 
[774]1#!/bin/sh
2
3if [ `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
9fi
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.