From: Heiko Z. <smi...@us...> - 2005-01-23 22:20:12
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24033/scripts Added Files: procmail Log Message: initial checking of procmail --- NEW FILE: procmail --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/procmail,v $ # $Revision: 1.1 $ # $Date: 2005/01/23 22:20:01 $ # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: procmail # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in build ) if [ "$CONFIG_PROCMAIL" = "y" ]; then make $PMAKE all LOCKINGTEST='/tmp .' || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_PROCMAIL" = "y" ]; then rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR/usr/bin || exit 1 make install BASENAME=$TMPDIR/usr VISIBLE_BASENAME=/usr || exit 1 copy_docs $TMPDIR cp -dpvR $TMPDIR/usr/bin $CDDIR/usr || exit 1 rm -rf $TMPDIR || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |