package.py 223 B

12345678910
  1. #!/usr/bin/python
  2. import os
  3. def postInstall(fromVersion, fromRelease, toVersion, toRelease):
  4. os.system("/usr/bin/appstreamcli refresh-cache --force")
  5. def preRemove():
  6. os.system("/bin/rm -rf /var/cache/app-info")