blob: 94da53a66f2bd79a36f0b560b725ec78498a82fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/sh
#
# Adapted from irc/ircd-hybrid's script
#
#-----------------------------------------------------------------------
if [ "x$2" = "xPRE-INSTALL" ]; then
#-----------------------------------------------------------------------
# ${DO_NADA}
#-----------------------------------------------------------------------
elif [ "x$2" = "xPOST-INSTALL" ]; then
#-----------------------------------------------------------------------
lf="%%LOGDIR%%/ratbox-services.log"
touch $lf \
&& chown ircservices:ircservices $lf \
&& chmod 640 $lf
cd %%DATADIR%% \
&& %%PERL%% ./generate-schema.pl
#-----------------------------------------------------------------------
fi
#-----------------------------------------------------------------------
exit 0
|