|
From: Heiko Z. <smi...@us...> - 2008-05-27 20:10:20
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv32696 Added Files: kid Log Message: added kid 0.9.6 --- NEW FILE: kid --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/kid,v $ # $Revision: 1.1 $ # $Date: 2008/05/27 20:10:14 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: kid # Required-Start: $basebuildtools $libs Python # 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 MYNAME=PYTHON_LDAP case $1 in build ) if [ "$CONFIG_PYTHON" = "y" ] ; then python setup.py build || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_PYTHON" = "y" ] ; then mkdir -p $CDDIR/usr/lib/python2.4/site-packages || exit 1 cp -dpR build/lib*/* $CDDIR/usr/lib/python2.4/site-packages/ || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |