… | |
… | |
20 | |
20 | |
21 | # The default uses the location of the pristine release and works |
21 | # The default uses the location of the pristine release and works |
22 | # unless you modify the server, in which case you are required to |
22 | # unless you modify the server, in which case you are required to |
23 | # either update the URL here or, preferably, change the source_url_tar |
23 | # either update the URL here or, preferably, change the source_url_tar |
24 | # and source_url_cvs settings in $CONFDIR/config. |
24 | # and source_url_cvs settings in $CONFDIR/config. |
|
|
25 | CONF URL_CVS : source_url_cvs} = "http://software.schmorp.de/pkg/cf.schmorp.de.html"; |
25 | our $URL_TAR = $cf::CFG{source_url_tar} || "http://dist.schmorp.de/deliantra/"; |
26 | CONF URL_TAR : source_url_tar} = "http://dist.schmorp.de/deliantra/"; |
26 | our $URL_TAR_SERVER = "$URL_TAR/cfserver-" . cf::VERSION . ".tar.bz2"; |
27 | our $URL_TAR_SERVER = "$URL_TAR/cfserver-" . cf::VERSION . ".tar.bz2"; |
27 | our $URL_TAR_ARCH = "$URL_TAR/cfarch-" . cf::VERSION . ".tar.bz2"; |
28 | our $URL_TAR_ARCH = "$URL_TAR/cfarch-" . cf::VERSION . ".tar.bz2"; |
28 | our $URL_TAR_MAPS = "$URL_TAR/cfmaps-" . cf::VERSION . ".tar.bz2"; |
29 | our $URL_TAR_MAPS = "$URL_TAR/cfmaps-" . cf::VERSION . ".tar.bz2"; |
29 | our $URL_CVS = $cf::CFG{source_url_cvs} || "http://software.schmorp.de/pkg/cf.schmorp.de.html"; |
|
|
30 | |
30 | |
31 | cf::register_command sourcecode => sub { |
31 | cf::register_command sourcecode => sub { |
32 | my ($ob, $arg) = @_; |
32 | my ($ob, $arg) = @_; |
33 | |
33 | |
34 | $ob->reply (undef, <<EOF, cf::NDI_UNIQUE | cf::NDI_DK_ORANGE); |
34 | $ob->reply (undef, <<EOF, cf::NDI_UNIQUE | cf::NDI_DK_ORANGE); |