Browse Source

Add RPM based distro support to claudia_launcher

tags/v0.9.1
Daniel Sonck Filipe Coelho <falktx@falktx.com> 8 years ago
parent
commit
0ecd439e32
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/claudia_launcher.py

+ 5
- 0
src/claudia_launcher.py View File

@@ -703,6 +703,11 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW):
if installed == "install":
pkglist.append(package.strip())

elif os.path.exists("/bin/rpm"):
pkg_out = getoutput("env LANG=C /bin/rpm -qa --qf \"%{NAME}\n\" 2>/dev/null").split("\n")
for package in pkg_out:
pkglist.append(package)

if not "bristol" in pkglist:
self.tabWidget.setTabEnabled(iTabBristol, False)



Loading…
Cancel
Save