#!/bin/sh
#
# Welcome to the DTC install maker !
# Maintainer: Thomas GOIRAND <thomas [ at ] goirand.fr>
# please do not ship with you packages
# this is only a small coder tool...
# $Source: /var/lib/cvs/dtc/bin/prepareDebianTree,v $
# $Date: 2006/12/16 08:52:10 $
# $Revision: 1.12 $

DSTDIR=..

VERS=`cat version`
RELS=`cat release`
if [ ""$VERS == "" ]; then
	VERS=0
fi
if [ ""$RELS == "" ]; then
	RELS=0
fi
VERSION=$VERS"-"$RELS
UNIX_TYPE=debian

echo " --- Updating DTC debian source package tree --- "

# Make the config file directory and script using standard
# plus debian specific scripts
#cp -f sources/debian/config ${DSTDIR}/debian/dtc.config
#cp -f sources/debian/config ${DSTDIR}/debian/dtc-postfix-courier.config
#cp -f sources/debian/postinst ${DSTDIR}/debian/dtc.postinst
#cp -f sources/debian/postinst ${DSTDIR}/debian/dtc-postfix-courier.postinst
#cp -f sources/debian/prerm ${DSTDIR}/debian/dtc.prerm
#cp -f sources/debian/prerm ${DSTDIR}/debian/dtc-postfix-courier.prerm

#cat sources/setup_mysql_db.sh >>${DSTDIR}/debian/dtc.postinst
#cat sources/create_chroot.sh >>${DSTDIR}/debian/dtc.postinst
#cat sources/configure_deamons.sh >>${DSTDIR}/debian/dtc.postinst
#cat sources/uninstall_deamons.sh >>${DSTDIR}/debian/dtc.prerm
#cat sources/setup_mysql_db.sh >>${DSTDIR}/debian/dtc-postfix-courier.postinst
#cat sources/create_chroot.sh >>${DSTDIR}/debian/dtc-postfix-courier.postinst
#cat sources/configure_deamons.sh >>${DSTDIR}/debian/dtc-postfix-courier.postinst
#cat sources/uninstall_deamons.sh >>${DSTDIR}/debian/dtc-postfix-courier.prerm
