Skip to content

Commit ad2684d

Browse files
committed
Syntax fixups for run
1 parent 737c85d commit ad2684d

3 files changed

Lines changed: 8 additions & 35 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM alpine:3.23 AS builder
22

3-
ARG VERSION=2.0
3+
ARG VERSION=2.1
44
ARG BUILD_DEPENDENCIES="gnutls-dev mariadb-dev sqlite-dev"
5-
ARG EXTRA_MODULES="m_mysql m_sqlite m_ssl_gnutls"
5+
ARG EXTRA_MODULES="mysql sqlite ssl_gnutls"
66

77
RUN apk add --no-cache gcc g++ ninja git cmake $BUILD_DEPENDENCIES && \
88
mkdir -p /src && \
@@ -43,4 +43,4 @@ VOLUME /data/
4343

4444
USER anope
4545

46-
CMD ["/anope/bin/services", "--nofork"]
46+
CMD ["/anope/bin/anope", "--nofork"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ include
673673
include
674674
{
675675
type = "executable"
676-
name = "/anope/conf/db.sh"
676+
name = "/anope/conf/database.sh"
677677
}
678678

679679

conf/mail.sh

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,19 @@
11
#!/bin/sh
22

33
if [ -z "$ANOPE_MAIL_REGISTRATION_MESSAGE" ]; then
4-
ANOPE_MAIL_REGISTRATION_MESSAGE="Hi,
5-
6-
You have requested to register the nickname {nick} on {network}.
7-
Please type \" /msg NickServ CONFIRM REGISTER {code} \" to complete registration.
8-
9-
If you don't know why this mail was sent to you, please ignore it silently.
10-
11-
{network} administrators."
4+
ANOPE_MAIL_REGISTRATION_MESSAGE="Hi,\n\nYou have requested to register the nickname {nick} on {network}.\nPlease type \\\" /msg NickServ CONFIRM REGISTER {code} \\\" to complete registration.\n\nIf you don't know why this mail was sent to you, please ignore it silently.\n\n{network} administrators."
125
fi
136

147
if [ -z "$ANOPE_MAIL_RESET_MESSAGE" ]; then
15-
ANOPE_MAIL_RESET_MESSAGE="Hi,
16-
17-
You have requested to have the password for {nick} reset.
18-
To reset your password, type \" /msg NickServ CONFIRM RESETPASS {nick} {code} \"
19-
20-
If you don't know why this mail was sent to you, please ignore it silently.
21-
22-
{network} administrators."
8+
ANOPE_MAIL_RESET_MESSAGE="Hi,\n\nYou have requested to have the password for {nick} reset.\nTo reset your password, type \\\" /msg NickServ CONFIRM RESETPASS {nick} {code} \\\"\n\nIf you don't know why this mail was sent to you, please ignore it silently.\n\n{network} administrators."
239
fi
2410

2511
if [ -z "$ANOPE_MAIL_EMAILCHANGE_MESSAGE" ]; then
26-
ANOPE_MAIL_EMAILCHANGE_MESSAGE="Hi,
27-
28-
You have requested to change your email address from {old_email} to {new_email}.
29-
Please type \" /msg NickServ CONFIRM EMAIL {code} \" to confirm this change.
30-
31-
If you don't know why this mail was sent to you, please ignore it silently.
32-
33-
{network} administrators."
12+
ANOPE_MAIL_EMAILCHANGE_MESSAGE="Hi,\n\nYou have requested to change your email address from {old_email} to {new_email}.\nPlease type \\\" /msg NickServ CONFIRM EMAIL {code} \\\" to confirm this change.\n\nIf you don't know why this mail was sent to you, please ignore it silently.\n\n{network} administrators."
3413
fi
3514

3615
if [ -z "$ANOPE_MAIL_MEMO_MESSAGE" ]; then
37-
ANOPE_MAIL_MEMO_MESSAGE="Hi {receiver},
38-
39-
You've just received a new memo from {sender}. This is memo number {number}.
40-
41-
Memo text:
42-
43-
{text}"
16+
ANOPE_MAIL_MEMO_MESSAGE="Hi {receiver},\n\nYou've just received a new memo from {sender}. This is memo number {number}.\n\nMemo text:\n\n{text}"
4417
fi
4518

4619
cat <<EOF

0 commit comments

Comments
 (0)