diff options
| author | bwarsaw | 1998-12-22 04:48:09 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-12-22 04:48:09 +0000 |
| commit | c7e45ff4790589298366bcd617f93e2999de4d09 (patch) | |
| tree | 14f0a59d1f3613be50263a833b99708876454a43 | |
| parent | b88751691f03d846eb0b5a1785475136e43630c8 (diff) | |
| download | mailman-c7e45ff4790589298366bcd617f93e2999de4d09.tar.gz mailman-c7e45ff4790589298366bcd617f93e2999de4d09.tar.zst mailman-c7e45ff4790589298366bcd617f93e2999de4d09.zip | |
update_to_10b6 is moved to update
also remove bin/update_to_10b6 :-)
| -rw-r--r-- | bin/Makefile.in | 2 | ||||
| -rwxr-xr-x | bin/update | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/bin/Makefile.in b/bin/Makefile.in index f3cee616b..1bdad7879 100644 --- a/bin/Makefile.in +++ b/bin/Makefile.in @@ -44,7 +44,7 @@ SCRIPTSDIR= $(prefix)/bin SHELL= /bin/sh SCRIPTS= digest_arch mmsitepass newlist rmlist add_members \ - subscribe_enmasse update_to_10b6 arch + subscribe_enmasse update arch # Modes for directories and executables created by the install # process. Default to group-writable directories but diff --git a/bin/update b/bin/update index 5442bceb5..f0c33f960 100755 --- a/bin/update +++ b/bin/update @@ -167,8 +167,7 @@ def archive_path_fixer(unused_arg, dir, files): os.chmod(abs, 0664) def remove_old_sources(module): - src = "%s/Mailman/%s.py" % (Mailman.mm_cfg.PREFIX, - module) + src = "%s/%s" % (Mailman.mm_cfg.PREFIX, module) pyc = src + "c" if os.path.exists(src): print "removing", src @@ -176,7 +175,7 @@ def remove_old_sources(module): os.unlink(src) except os.error, rest: print "Warning: couldn't remove", src, "--", str(rest) - if os.path.exists(pyc): + if module[-3:] == '.py' and os.path.exists(pyc): try: os.unlink(pyc) except os.error, rest: @@ -184,8 +183,10 @@ def remove_old_sources(module): if __name__ == '__main__': - for mod in ("Archiver", "HyperArch", "HyperDatabase", "pipermail", - 'smtplib'): + for mod in ('Mailman/Archiver.py', 'Mailman/HyperArch.py', + 'Mailman/HyperDatabase.py', 'Mailman/pipermail.py', + 'Mailman/smtplib.py', + 'bin/update_to_10b6'): remove_old_sources(mod) lists = list_names() if not lists: |
