mintmenu/usr/lib/linuxmint/mintMenu/version.py
Clement Lefebvre 590bb21fe2 Generic names
2009-07-29 22:50:43 +02:00

14 lines
138 B
Python
Executable File

#!/usr/bin/python
import apt
import sys
try:
cache = apt.Cache()
pkg = cache["mintmenu"]
print pkg.installedVersion
except:
pass