~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2013-05-19 14:29:37 UTC
  • mfrom: (6437.63.9 2.5)
  • mto: (6437.63.10 2.5)
  • mto: This revision was merged to the branch mainline in revision 6575.
  • Revision ID: john@arbash-meinel.com-20130519142937-21ykz2n2y2f22za9
Merge in the actual 2.5 branch. It seems I failed before

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        directory_created(fldr)
112
112
 
113
113
    # link to documentation
114
 
    docs = os.path.join(sys.exec_prefix, 'Doc', 'Bazaar', 'index.htm')
 
114
    docs = os.path.join(sys.exec_prefix, 'Doc', 'Bazaar', 'index.html')
115
115
    dst = os.path.join(fldr, 'Documentation.lnk')
116
116
    create_shortcut(docs, 'Bazaar Documentation', dst)
117
117
    file_created(dst)
132
132
                    args,
133
133
                    os.path.join(sys.exec_prefix, 'Scripts'))
134
134
    file_created(dst)
 
135
 
 
136
    # uninstall shortcut
 
137
    uninst = os.path.join(sys.exec_prefix, 'Removebzr.exe')
 
138
    dst = os.path.join(fldr, 'Uninstall Bazaar.lnk')
 
139
    create_shortcut(uninst,
 
140
                    'Uninstall Bazaar',
 
141
                    dst,
 
142
                    '-u bzr-wininst.log',
 
143
                    sys.exec_prefix,
 
144
                    )
 
145
    file_created(dst)