Correction of paths for BSDs

This commit is contained in:
Ulrich Wilkens
2012-08-30 02:12:16 +02:00
committed by Jon Trulson
parent ca9da25d44
commit 3a28782409
13 changed files with 147 additions and 96 deletions

View File

@@ -57,8 +57,16 @@ if [ "$DTXSERVERLOCATION" = "local" ]
then
if [[ ! -z "$ITE" && "$ITE" != "??" && -a "/dev/$ITE" ]]
then
#if defined (__OpenBSD__)
/sbin/chown $USER /dev/$ITE
/bin/chgrp $USER_GID /dev/$ITE
#elif defined (__FreeBSD__)
/usr/sbin/chown $USER /dev/$ITE
/usr/bin/chgrp $USER_GID /dev/$ITE
#else
/bin/chown $USER /dev/$ITE
/bin/chgrp $USER_GID /dev/$ITE
#endif
fi
fi