Search
j0ke.net Open Build Service
>
Projects
>
server:messaging
>
sms-server-tools2
> smstools-install-destdir.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File smstools-install-destdir.diff of Package sms-server-tools2
--- smstools/install.sh.orig 2008-02-12 10:39:49.000000000 +0100 +++ smstools/install.sh 2008-02-12 11:23:02.000000000 +0100 @@ -2,8 +2,8 @@ #Do not run directly. This is a helper script for make. # Remember to edit the config file if you change these default path's. -BINDIR=/usr/local/bin -SPOOLDIR=/var/spool/sms +BINDIR=${DESTDIR}/usr/bin +SPOOLDIR=${DESTDIR}/var/spool/sms @@ -68,7 +68,7 @@ copy scripts/unicode2sms $BINDIR/unicode2sms echo "Installing config file" -copy examples/smsd.conf.easy /etc/smsd.conf +copy examples/smsd.conf.easy ${DESTDIR}/etc/smsd.conf echo "Creating minimum spool directories" makedir $SPOOLDIR @@ -77,8 +77,8 @@ makedir $SPOOLDIR/checked echo "Installing start-script" -if [ -d /etc/init.d ]; then - copy scripts/sms /etc/init.d/sms +if [ -d ${DESTDIR}/etc/init.d ]; then + copy scripts/sms ${DESTDIR}/etc/init.d/sms elif [ -d /sbin/init.d ]; then copy scripts/sms /sbin/init.d/sms else