]> git.pld-linux.org Git - packages/eggdrop.git/blame - eggdrop-FHS.patch
- fix build
[packages/eggdrop.git] / eggdrop-FHS.patch
CommitLineData
41fdd2b1
ER
1--- eggdrop1.6.21/eggdrop.conf~ 2012-03-31 04:26:15.000000000 +0300
2+++ eggdrop1.6.21/eggdrop.conf 2012-03-31 04:27:17.370702471 +0300
7d37d9db
AG
3@@ -1,4 +1,4 @@
4-#! /path/to/executable/eggdrop
5+#! /usr/bin/eggdrop
6 # ^- This should contain a fully qualified path to your Eggdrop executable.
7 #
8 # $Id$
8eb15d2d 9@@ -185,22 +185,22 @@ set sort-users 0
7d37d9db
AG
10
11 # Specify here where Eggdrop should look for help files. Don't modify this
12 # setting unless you know what you're doing!
13-set help-path "help/"
14+set help-path "/usr/share/eggdrop/help/"
15
16 # Specify here where Eggdrop should look for text files. This is used for
17 # certain Tcl and DCC commands.
18-set text-path "text/"
19+set text-path "/usr/share/eggdrop/"
20
21 # Set here a place to store temporary files.
22 set temp-path "/tmp"
23
24 # The MOTD (Message Of The day) is displayed when people dcc chat or telnet
25 # to the bot. Look at doc/TEXT-SUBSTITUTIONS for options.
26-set motd "text/motd"
27+set motd "/usr/share/eggdrop/motd"
28
29 # This banner will be displayed on telnet connections. Look at
30 # doc/TEXT-SUBSTITUTIONS for options.
31-set telnet-banner "text/banner"
32+set telnet-banner "/usr/share/eggdrop/banner"
33
34 # This specifies what permissions the user, channel, and notes files should
35 # be set to. The octal values are the same as for the chmod system command.
8eb15d2d 36@@ -419,7 +419,7 @@ die "Please make sure you edit your conf
7d37d9db
AG
37 # If you run the bot from the compilation directory, you will want to set
38 # this to "". If you use 'make install' (like all good kiddies do ;), this
39 # is a fine default. Otherwise, use your head :)
40-set mod-path "modules/"
41+set mod-path "/usr/lib/eggdrop/modules/"
42
43
8eb15d2d 44 #### BLOWFISH MODULE ####
41fdd2b1 45@@ -1378,24 +1378,24 @@
7d37d9db
AG
46 # directory. All scripts should be put there, although you can place them where
47 # you like as long as you can supply a fully qualified path to them.
48 #
49-# source scripts/script.tcl
41fdd2b1 50+# source /usr/share/eggdrop/scripts/script.tcl
7d37d9db
AG
51
52-source scripts/alltools.tcl
53-source scripts/action.fix.tcl
54+source /usr/share/eggdrop/scripts/alltools.tcl
55+source /usr/share/eggdrop/scripts/action.fix.tcl
56
41fdd2b1
ER
57 # This script enhances Eggdrop's built-in dcc '.whois' command to allow all
58 # users to '.whois' their own handle.
59-source scripts/dccwhois.tcl
60+source /usr/share/eggdrop/scripts/dccwhois.tcl
7d37d9db
AG
61
62 # This script provides many useful informational functions, like setting
63 # users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
64 # extra entries.
65-source scripts/userinfo.tcl
66+source /usr/share/eggdrop/scripts/userinfo.tcl
67 loadhelp userinfo.help
8eb15d2d 68
41fdd2b1
ER
69 # Use this script for Tcl and Eggdrop backwards compatibility.
70 # NOTE: This can also cause problems with some newer scripts.
71-#source scripts/compat.tcl
72+#source /usr/share/eggdrop/scripts/compat.tcl
16c0d484 73
41fdd2b1
ER
74 # A few IRC networks (EFnet and Undernet) have added some simple checks to
75 # prevent drones from connecting to the IRC network. While these checks are
8eb15d2d 76--- eggdrop1.6.19/src/eggdrop.h 2008-02-16 22:41:03.000000000 +0100
77+++ eggdrop1.6.19.new/src/eggdrop.h 2008-09-22 10:00:48.000000000 +0200
7d37d9db 78@@ -75,7 +75,7 @@
be355aca 79
be355aca 80
31bc0dcd
AG
81 /* Language stuff */
82-#define LANGDIR "./language" /* language file directory */
83+#define LANGDIR "/usr/share/eggdrop/language" /* language file directory */
7d37d9db 84 #define BASELANG "english" /* language which always gets loaded before
31bc0dcd
AG
85 all other languages. You do not want to
86 change this. */
450768db 87--- eggdrop1.6.19/eggdrop.conf 2008-02-16 21:15:30.000000000 +0100
88+++ eggdrop1.6.19-new/eggdrop.conf 2008-09-23 19:10:36.435603076 +0200
89@@ -1359,11 +1359,11 @@ if {[info exists net-type]} {
90 switch -- ${net-type} {
91 "0" {
92 # EFnet
93- source scripts/quotepong.tcl
94+ source /usr/share/eggdrop/scripts/quotepong.tcl
95 }
96 "2" {
97 # Undernet
98- source scripts/quotepass.tcl
99+ source /usr/share/eggdrop/scripts/quotepass.tcl
100 }
101 }
102 }
This page took 0.109716 seconds and 4 git commands to generate.