forked from pzs-ng/pzs-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUPDATING
62 lines (42 loc) · 2.21 KB
/
UPDATING
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
UPDATING BETWEEN VERSIONS/REVISIONS
-----------------------------------
There seems to be much confusion about updating. The general idea is as follows:
Keep zsconfig.h and dZSbot.conf
These are your config files. There is no need to redo the config files each time
you update your zipscript/bot. I'll say again: THERE IS NO NEED TO REDO THE
CONFIG FILES EACH TIME YOU UPGRADE.
Okay, now that that is clear, here's the general process:
1. download/unpack the latest version/revision.
2. copy your old zsconfig.h into zipscript/conf/
3. make distclean; ./configure && make && make install
3a. chmod +s /glftpd/bin/ng-chown (optional, only if you use it)
4. cp sitebot/dZSb* /path/to/sitebot/scripts/pzs-ng/
5. .rehash or .restart your bot.
Refer to sitebot/UPDATING when updating the sitebot.
That's it! You've upgraded.
Any new additions/changes to either the sitebot or the zipscript is used with
default values - your bot/zipscript will not break.
In case you're wondering about step 4 above - no, it will not overwrite your
config - there is no dZSbot.conf in the archive. The above cp command is
quite safe to use.
Themes - these will be updated from time to time. Themes in general should
continue to work as they always have.
ANY CHANGES THAT DEVIATE FROM THE ABOVE IS LISTED BELOW.
--------------------------------------------------------------------------------
zsconfig.h: The option 'del_progressmeter' has changed. Make sure you have
two percentage signs '%%' in it. See README.ZSCONFIG for more
info. Optionally, just remove the option from your config, and
the default will be used.
Changed in: r827
The options 'cleanup_yesterday' and 'cleanup_today' is gone and
is replaced by 'days_back_cleanup'. The option 'cleanupdirs' is
split in two, 'cleanupdirs' and 'cleanupdirs_dated'.
Changed in: r1273
Default mode of sfv_cleanup_lowercase changed from FALSE to
TRUE, and in effect will not differentiate on case.
Changed in: r1348
racedata changed. You *HAVE* *TO* rm -fR ftp-data/pzs-ng/*.
Changed in: 1277, 1458, 1474, 1508, 1521, 1535, 2246
dZSbot.conf A dZSbot.conf.defaults first appeared in r1120 - if your bot
is older than this, it is recommended to update all, including
dZSbot.conf