[Lunar-commits] CVS: moonbase/mail/imap POST_INSTALL,1.1,1.2
Jon South
striker at lunar-linux.org
Tue Jun 15 21:11:49 GMT 2004
Update of /var/cvs/lunar/moonbase/mail/imap
In directory dbguin.lunar-linux.org:/tmp/cvs-serv1190
Modified Files:
POST_INSTALL
Log Message:
Makefile doesnt exist on new installs until openssl 0.9.7d is installed (1.4.0 ISO has 0.9.7c)
Also, fix for 'if ! query' typo
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/mail/imap/POST_INSTALL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- POST_INSTALL 14 Jun 2004 09:23:08 -0000 1.1
+++ POST_INSTALL 15 Jun 2004 21:11:47 -0000 1.2
@@ -1,13 +1,15 @@
#fixup certs for imaps and pop3s
-if ! query "Generate imaps and pop3s SSL certificates? " n ; then
- CERTHOME="/etc/ssl/certs"
- if [ -d $CERTHOME ]; then
- cd $CERTHOME
- if [ ! -e imapd.pem ]; then
- make imapd.pem
- fi
- if [ ! -e ipop3d.pem ]; then
- make ipop3d.pem
+if [ -f /etc/ssl/certs/Makefile ]; then
+ if query "Generate imaps and pop3s SSL certificates? " n ; then
+ CERTHOME="/etc/ssl/certs"
+ if [ -d $CERTHOME ]; then
+ cd $CERTHOME
+ if [ ! -e imapd.pem ]; then
+ make imapd.pem
+ fi
+ if [ ! -e ipop3d.pem ]; then
+ make ipop3d.pem
+ fi
fi
fi
fi
More information about the Lunar-commits
mailing list