diff options
| author | twouters | 2001-03-02 23:02:20 +0000 |
|---|---|---|
| committer | twouters | 2001-03-02 23:02:20 +0000 |
| commit | 50872edab3348af67ac995738033dd0c776e92b2 (patch) | |
| tree | f604cd08c36422f0ab7a92b9202cf862cc0e90d9 | |
| parent | 8abe49e2b2b00463e5cabe2161059bd7e81ce5f1 (diff) | |
| download | mailman-50872edab3348af67ac995738033dd0c776e92b2.tar.gz mailman-50872edab3348af67ac995738033dd0c776e92b2.tar.zst mailman-50872edab3348af67ac995738033dd0c776e92b2.zip | |
| -rwxr-xr-x | bin/update | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/bin/update b/bin/update index 2dd5368e1..584917520 100755 --- a/bin/update +++ b/bin/update @@ -73,6 +73,8 @@ def calcversions(): def makeabs(relpath): return os.path.join(mm_cfg.PREFIX, relpath) +def make_varabs(relpath): + return os.path.join(mm_cfg.VAR_PREFIX, relpath) def move_language_templates(mlist): @@ -109,11 +111,12 @@ def dolist(listname): '%(listname)s') return 1 - mbox_dir = makeabs('archives/private/%s.mbox' % (listname)) - mbox_file = makeabs('archives/private/%s.mbox/%s' % (listname, listname)) + mbox_dir = make_varabs('archives/private/%s.mbox' % (listname)) + mbox_file = make_varabs('archives/private/%s.mbox/%s' % (listname, + listname)) - o_pub_mbox_file = makeabs('archives/public/%s' % (listname)) - o_pri_mbox_file = makeabs('archives/private/%s' % (listname)) + o_pub_mbox_file = make_varabs('archives/public/%s' % (listname)) + o_pri_mbox_file = make_varabs('archives/private/%s' % (listname)) html_dir = o_pri_mbox_file o_html_dir = makeabs('public_html/archives/%s' % (listname)) @@ -222,9 +225,9 @@ script. # save the new variables and # let it create public symlinks if necessary # - mlist.archive_directory = makeabs('archives/private/%s' % (listname)) - mlist.private_archive_file_dir = makeabs('archives/private/%s.mbox' % - listname) + mlist.archive_directory = make_varabs('archives/private/%s' % (listname)) + mlist.private_archive_file_dir = make_varabs('archives/private/%s.mbox' % + listname) mlist.Save() # # check to see if pre-b4 list-specific templates are around |
