Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13260/scripts
Modified Files:
Tag: rel-1-2-patches
LPRng
Log Message:
make compatible with dl 1.3
Index: LPRng
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/LPRng,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- LPRng 7 Jan 2006 17:49:47 -0000 1.1.2.2
+++ LPRng 7 Jan 2006 17:51:55 -0000 1.1.2.3
@@ -37,19 +37,19 @@
install )
if [ "$CONFIG_LPRNG" = "y" ]; then
- rm -rf $WORKDIR/tmp || exit 1
- mkdir -p $WORKDIR/tmp/usr/{sbin,man} || exit 1
+ rm -rf $TMPDIR || exit 1
+ mkdir -p $TMPDIR/usr/{sbin,man} || exit 1
# install it into build system, because we need it later
- make install DESTDIR=$WORKDIR/tmp || exit 1
- rm -rf $WORKDIR/tmp/usr/lib || exit 1
- rm -rf $WORKDIR/tmp/etc/rc.d || exit 1
- find $WORKDIR/tmp/etc -name \*.sample | xargs rm || exit 1
- copy_docs $WORKDIR/tmp
- copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1
- copy_files $WORKDIR/tmp/etc $ETCDIR/ || exit 1
+ make install DESTDIR=$TMPDIR || exit 1
+ rm -rf $TMPDIR/usr/lib || exit 1
+ rm -rf $TMPDIR/etc/rc.d || exit 1
+ find $TMPDIR/etc -name \*.sample | xargs rm || exit 1
+ copy_docs $TMPDIR
+ copy_files $TMPDIR/usr $CDDIR/ || exit 1
+ copy_files $TMPDIR/etc $ETCDIR/ || exit 1
- rm -rf $WORKDIR/tmp || exit 1
+ rm -rf $TMPDIR || exit 1
cp $MYDIR/scripts/lpd $ETCDIR/etc/init.d || exit 1
|