CVS: moonbase/mail/exim4 POST_INSTALL,1.1,1.2
Terry Chan
tchan at lunar-linux.org
Tue Nov 11 04:24:36 GMT 2003
Update of /var/cvs/lunar/moonbase/mail/exim4
In directory dbguin.lunar-linux.org:/tmp/cvs-serv20024
Modified Files:
POST_INSTALL
Log Message:
Fixed the POST_INSTALL to use exim4's method of determinig the arch type
for calling the converter script. Solves the hardcoding of i386 that used
to be in the POST_INSTALL file. Works on the Sparc64 I'm testing on. PPC
and Alpha guys will need to test this as well.
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/mail/exim4/POST_INSTALL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- POST_INSTALL 10 Nov 2003 23:38:38 -0000 1.1
+++ POST_INSTALL 11 Nov 2003 04:24:34 -0000 1.2
@@ -12,6 +12,7 @@
;;
esac
-cat /etc/exim.conf | $SOURCE_DIRECTORY/build-Linux-i386/convert4r4 > exim.conf &&
+EXIM4_ARCH=`$SOURCE_DIRECTORY/scripts/arch-type` &&
+cat /etc/exim.conf | $SOURCE_DIRECTORY/build-Linux-${EXIM4_ARCH}/convert4r4 > exim.conf &&
mv /etc/exim.conf /etc/exim.conf.3 &&
mv exim.conf /etc/exim.conf
More information about the Lunar-commits
mailing list