Search
j0ke.net Open Build Service
>
Projects
>
server:messaging
>
sms-server-tools3-beta
> 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-tools3-beta
--- smstools3/install.sh.orig 2008-02-12 16:38:41.000000000 +0100 +++ smstools3/install.sh 2008-02-12 17:16:42.000000000 +0100 @@ -91,20 +91,20 @@ 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 /var/spool -makedir /var/spool/sms -makedir /var/spool/sms/incoming -makedir /var/spool/sms/outgoing -makedir /var/spool/sms/checked +makedir ${DESTDIR}/var/spool +makedir ${DESTDIR}/var/spool/sms +makedir ${DESTDIR}/var/spool/sms/incoming +makedir ${DESTDIR}/var/spool/sms/outgoing +makedir ${DESTDIR}/var/spool/sms/checked echo "Installing start-script" SMS3SCRIPT=scripts/sms3 -if [ -d /etc/init.d ]; then - copy scripts/sms3 /etc/init.d/sms3 - SMS3SCRIPT=/etc/init.d/sms3 +if [ -d ${DESTDIR}/etc/init.d ]; then + copy scripts/sms3 ${DESTDIR}/etc/init.d/sms3 + SMS3SCRIPT=${DESTDIR}/etc/init.d/sms3 elif [ -d /sbin/init.d ]; then copy scripts/sms3 /sbin/init.d/sms3 SMS3SCRIPT=/sbin/init.d/sms3