This commit is contained in:
Poyraz76
2015-08-20 18:39:07 +03:00
parent 05bbca2811
commit f4b9a4848d
12 changed files with 751 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import glob
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins")
def preRemove():
for cache in glob.glob("/usr/lib/vlc/plugins/plugins-*-*.dat"):
try:
os.unlink(cache)
except OSError:
pass