~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/bzr-win32-bdist-postinstall.py

  • Committer: Alexander Belchenko
  • Date: 2006-07-30 06:52:39 UTC
  • mto: (1711.2.111 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1906.
  • Revision ID: bialix@ukr.net-20060730065239-03b4ac02d9f56202
branding: change Bazaar-NG to Bazaar

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
    ##
34
34
    # XXX change message for something more appropriate
35
 
    print """Bazaar-NG %s
 
35
    print """Bazaar %s
36
36
 
37
37
Congratulation! Bzr successfully installed.
38
38
 
70
70
              dst.encode(locale.getpreferredencoding(), 'replace')
71
71
        # create dummy bazaar.conf
72
72
        f = file(os.path.join(dst,'bazaar.conf'), 'w')
73
 
        f.write("# main configuration file of Bazaar-NG\n"
 
73
        f.write("# main configuration file of Bazaar\n"
74
74
                "[DEFAULT]\n"
75
75
                "#email=Your Name <you@domain.com>\n")
76
76
        f.close()
89
89
        # non-admin install - always goes in this user's start menu.
90
90
        fldr = get_special_folder_path("CSIDL_PROGRAMS")
91
91
 
92
 
    # make Bazaar-NG entry
93
 
    fldr = os.path.join(fldr, 'Bazaar-NG')
 
92
    # make Bazaar entry
 
93
    fldr = os.path.join(fldr, 'Bazaar')
94
94
    if not os.path.isdir(fldr):
95
95
        os.mkdir(fldr)
96
96
        directory_created(fldr)
97
97
 
98
98
    # link to documentation
99
 
    docs = os.path.join(sys.exec_prefix, 'Doc', 'Bazaar-NG', 'index.htm')
 
99
    docs = os.path.join(sys.exec_prefix, 'Doc', 'Bazaar', 'index.htm')
100
100
    dst = os.path.join(fldr, 'Documentation.lnk')
101
 
    create_shortcut(docs, 'Bazaar-NG Documentation', dst)
 
101
    create_shortcut(docs, 'Bazaar Documentation', dst)
102
102
    file_created(dst)
103
 
    print 'Documentation for Bazaar-NG: Start => Programs => Bazaar-NG'
 
103
    print 'Documentation for Bazaar: Start => Programs => Bazaar'
104
104
 
105
105
    # bzr in cmd shell
106
106
    cmd = os.environ.get('COMSPEC', 'cmd.exe')