Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203305 Details for
Bug 283673
media-video/openshot - Free, open-source, non-linear video editor to create and edit videos and movies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Python MLT module uninstall script
preuninst.py (text/plain), 871 bytes, created by
Chris Shymanik (mousee)
on 2009-09-06 18:42:04 UTC
(
hide
)
Description:
Python MLT module uninstall script
Filename:
MIME Type:
Creator:
Chris Shymanik (mousee)
Created:
2009-09-06 18:42:04 UTC
Size:
871 bytes
patch
obsolete
># Python script that should execute before the ebuild is uninstalled (preuninst) >import subprocess, sys, os > >print "Python MLT module uninstaller starting..." > ># loop through each item in the Python path list >for path in sys.path: > # does this contain 'site-packages' > if str.lower(path).find("site-packages") > 0 or str.lower(path).find("dist-packages") > 0: > > print "--------------------------------------------" > print "Uninstalling MLT python bindings from: %s" % path > > # copy the bindings into the site-packages folder > subprocess.call('sudo rm %s/mlt.py' % path, shell=True) > subprocess.call('sudo rm %s/_mlt.so' % path, shell=True) > subprocess.call('sudo rm %s/mlt_wrap.o' % path, shell=True) > > # stop looping > break > ># refresh shared libraries >subprocess.call('sudo ldconfig', shell=True) > >print "Python MLT module uninstall successfully completed!"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 283673
:
203159
|
203303
|
203305
|
203813
|
203933
|
204615
|
205784
|
210950
|
211134
|
211358
|
211359
|
215945
|
216760
|
216828
|
219417
|
222705
|
222973
|
223825
|
225853
|
226677
|
248668
|
249946
|
249968
|
257405
|
260055
|
262669
|
262715
|
263185
|
263193
|
263635
|
264017
|
279463
|
308465
|
340862
|
344708
|
362528
|
362552
|
362556
|
362558