work for sane-backends 1

This commit is contained in:
Ertuğrul Erata
2015-08-02 22:36:35 +03:00
parent 636428c722
commit 35c121d1b3
30 changed files with 1359 additions and 0 deletions
@@ -0,0 +1,9 @@
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
stale_files = ["/usr/share/hal/fdi/information/10freedesktop/10-camera-libgphoto2-device.fdi",
"/etc/udev/rules.d/60-libgphoto2.rules"]
for f in stale_files:
if os.path.exists(f):
os.unlink(f)