Skip to content

Commit d063e23

Browse files
committed
Change linebreak mode to LF.
1 parent a00dc91 commit d063e23

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

src/deb/hestia/postinst

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
#!/bin/bash
2-
3-
# Run triggers only on updates
4-
if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
5-
exit
6-
fi
7-
8-
# Run SUDO trigger
9-
if [ -x "/usr/local/hestia/upd/add_sudo.sh" ]; then
10-
/usr/local/hestia/upd/add_sudo.sh
11-
fi
12-
13-
# Run Notification trigger
14-
if [ -x "/usr/local/hestia/upd/add_notifications.sh" ]; then
15-
/usr/local/hestia/upd/add_notifications.sh
16-
fi
17-
18-
# Run session save path trigger
19-
if [ -x "/usr/local/hestia/upd/fix_sessions.sh" ]; then
20-
/usr/local/hestia/upd/fix_sessions.sh
21-
fi
22-
23-
if [ -x /usr/local/hestia/upd/fix_nginx_auth.sh ]; then
24-
/usr/local/hestia/upd/fix_nginx_auth.sh
25-
fi
26-
27-
if [ -x /usr/local/hestia/upd/fix_roundcube.sh ]; then
28-
/usr/local/hestia/upd/fix_roundcube.sh
29-
fi
30-
1+
#!/bin/bash
2+
3+
# Run triggers only on updates
4+
if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
5+
exit
6+
fi
7+
8+
# Run SUDO trigger
9+
if [ -x "/usr/local/hestia/upd/add_sudo.sh" ]; then
10+
/usr/local/hestia/upd/add_sudo.sh
11+
fi
12+
13+
# Run Notification trigger
14+
if [ -x "/usr/local/hestia/upd/add_notifications.sh" ]; then
15+
/usr/local/hestia/upd/add_notifications.sh
16+
fi
17+
18+
# Run session save path trigger
19+
if [ -x "/usr/local/hestia/upd/fix_sessions.sh" ]; then
20+
/usr/local/hestia/upd/fix_sessions.sh
21+
fi
22+
23+
if [ -x /usr/local/hestia/upd/fix_nginx_auth.sh ]; then
24+
/usr/local/hestia/upd/fix_nginx_auth.sh
25+
fi
26+
27+
if [ -x /usr/local/hestia/upd/fix_roundcube.sh ]; then
28+
/usr/local/hestia/upd/fix_roundcube.sh
29+
fi
30+
3131
exit 0

0 commit comments

Comments
 (0)