Skip to content

Commit

Permalink
Add RPM based distro support to claudia_launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonck92 authored and falkTX committed Nov 17, 2019
1 parent 233e8c1 commit 0ecd439
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/claudia_launcher.py
Expand Up @@ -703,6 +703,11 @@ def refreshAll(self):
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)

Expand Down

0 comments on commit 0ecd439

Please sign in to comment.