|
From: Heiko Z. <smi...@us...> - 2009-08-09 22:01:19
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28672/scripts Modified Files: bacula Log Message: make sure user and group exist before installing bacula user is now member of tape Index: bacula =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/bacula,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- bacula 24 Jul 2009 15:10:42 -0000 1.7 +++ bacula 9 Aug 2009 22:01:06 -0000 1.8 @@ -46,11 +46,10 @@ install ) if [ "$CONFIG_BACULA" = "y" ]; then rm -rf $TMPDIR || exit 1 - make install DESTDIR=$TMPDIR || exit 1 copy_docs $TMPDIR groupadd -g 111 backup || exit 1 - useradd -u 111 -g backup -c "Bacula backup system" -s /bin/false bacula || exit 1 - gpasswd -A bacula tape || exit 1 + useradd -u 111 -g backup -G tape -c "Bacula backup system" -s /bin/false bacula || exit 1 + make install DESTDIR=$TMPDIR || exit 1 cp -dvpR $TMPDIR/etc $ETCDIR/ || exit 1 rm -rf $TMPDIR/etc || exit 1 rm -rf $TMPDIR/tmp || exit 1 |