Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 35199
Collapse All | Expand All

(-)install.py.orig (-24 lines)
Lines 158-187 Link Here
158
        bindir = platBinDir
158
        bindir = platBinDir
159
        mdir = modDir
159
        mdir = modDir
160
    
160
    
161
    # Cleanup old stuff
162
    # Remove the wrapper scripts
163
    rem_ename = wrapperName(platBinDir,"eric3")
164
    rem_uname = wrapperName(platBinDir,"eric3-unittest")
165
    rem_hname = wrapperName(platBinDir,"eric3-helpviewer")
166
    rem_ouname = wrapperName(platBinDir,"qtunittest")
167
    rem_ohname = wrapperName(platBinDir,"helpviewer")
168
    if os.path.exists(rem_ename):
169
        os.remove(rem_ename)
170
    if os.path.exists(rem_uname):
171
        os.remove(rem_uname)
172
    if os.path.exists(rem_hname):
173
        os.remove(rem_hname)
174
    if os.path.exists(rem_ouname):
175
        os.remove(rem_ouname)
176
    if os.path.exists(rem_ohname):
177
        os.remove(rem_ohname)
178
    
179
    # Cleanup the install directory
180
    try:
181
        shutil.rmtree(ericdir, 1)
182
    except:
183
        pass
184
185
    # Install the files
161
    # Install the files
186
    # make the install directory tree
162
    # make the install directory tree
187
    os.makedirs(ericpixdir)
163
    os.makedirs(ericpixdir)

Return to bug 35199