]> andersk Git - moira.git/blobdiff - gen/print.sh
Command line printer manipulation client, and build goo.
[moira.git] / gen / print.sh
index a2c5acbc8905d872298563ccb224939a07765520..c5db41ab55b0e1d0a3b394295116cff59e79e621 100755 (executable)
@@ -31,7 +31,13 @@ tar xf $TARFILE || exit $MR_TARERR
 # Build full printcap and spools
 cat $PCLOCAL $PCGEN > $PRINTCAP
 /usr/athena/etc/checkpc -f
+if [ $? != 0 ]; then
+    exit $MR_MKCRED
+fi
 /usr/athena/etc/lpc reread
+if [ $? != 0 ]; then
+    exit $MR_MKCRED
+fi
 
 # cleanup
 test -f $TARFILE && rm -f $TARFILE
This page took 0.470855 seconds and 4 git commands to generate.