commit 3300f247a6c11e7bc5488314062ae5defe7c8299
parent 1961479e0099897c37621362bf872306cb70dcc1
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Fri, 27 Dec 2019 15:27:26 +0100
add deprecation message to obsolete mail client wrappers
Noone should be using them anymore as they are unmaintained for years, but just
be sure everyone has been warned.
Diffstat:
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -507,7 +507,7 @@ dot-qmail.9 conf-qmail conf-break conf-spawn
elq: \
warn-auto.sh elq.sh conf-qmail conf-break conf-split
- cat warn-auto.sh elq.sh \
+ cat warn-auto.sh deprecated.sh elq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
@@ -1012,7 +1012,7 @@ it man
pinq: \
warn-auto.sh pinq.sh conf-qmail conf-break conf-split
- cat warn-auto.sh pinq.sh \
+ cat warn-auto.sh deprecated.sh pinq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
@@ -1070,7 +1070,7 @@ compile prot.c hasshsgr.h prot.h
qail: \
warn-auto.sh qail.sh conf-qmail conf-break conf-split
- cat warn-auto.sh qail.sh \
+ cat warn-auto.sh deprecated.sh qail.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
diff --git a/deprecated.sh b/deprecated.sh
@@ -0,0 +1,6 @@
+
+echo >&2
+echo "This script is deprecated and will be removed in the next notqmail release." >&2
+echo >&2
+
+sleep 5