From: <smi...@us...> - 2003-12-25 00:46:43
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv20063/scripts Modified Files: Tag: rel-1-0-patches stunnel Log Message: - stunnel didn't get copied onto the CD Index: stunnel =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/stunnel,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -u -d -r1.7 -r1.7.2.1 --- stunnel 22 Jul 2003 19:45:11 -0000 1.7 +++ stunnel 25 Dec 2003 00:46:40 -0000 1.7.2.1 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: stunnel +# 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%/*} @@ -27,10 +39,9 @@ install ) if [ "$CONFIG_STUNNEL" = "y" ]; then - mkdir -p $CDDIR/usr/sbin - mkdir -p $CDDIR/usr/lib - cp -p stunnel $CDDIR/usr/sbin - cp -p stunnel.so $CDDIR/usr/lib + mkdir -p $CDDIR/usr/sbin || exit 1 + mkdir -p $CDDIR/usr/lib || exit 1 + cp -p src/stunnel $CDDIR/usr/sbin/ || exit 1 copy_man fi ;; |