aboutsummaryrefslogtreecommitdiff
path: root/mail/mew/files/message.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mew/files/message.sh')
-rw-r--r--mail/mew/files/message.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/mew/files/message.sh b/mail/mew/files/message.sh
index c2720cc73d73..a709991a5b4f 100644
--- a/mail/mew/files/message.sh
+++ b/mail/mew/files/message.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-if [ -z "${SITE_STARTUP_FILE}" ]; then
- ${CAT} <<EOF > ${WRKTMPDIR}/MESSAGE
+if [ -z "${EMACS_SETUPEL}" ]; then
+ cat <<EOF > ${WRKTMPDIR}/pkg-message
*************************************************************************
* You must set at least following elisps to your own dot.emacs file: *
* *
@@ -12,11 +12,11 @@ if [ -z "${SITE_STARTUP_FILE}" ]; then
*************************************************************************
EOF
else
- ${CAT} <<EOF > ${WRKTMPDIR}/MESSAGE
+ cat <<EOF > ${WRKTMPDIR}/pkg-message
*************************************************************************
* You must set at least following elisps to your own dot.emacs file: *
* *
-* (require 'mew-${EMACS_PORT_NAME}-startup) *
+* (require '`basename ${EMACS_SETUPEL} .el`) *
* (autoload 'mew "mew" nil t) *
* (autoload 'mew-send "mew" nil t) *
* (setq mew-mail-domain-list '("Name_Server_Domain_Name")) *