all repos — tint2 @ 302d8ec3b212d094cb85de3cd5ca303fbbe3ce5b

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Add packaging version check script
o9000 mrovi9000@gmail.com
commit

302d8ec3b212d094cb85de3cd5ca303fbbe3ce5b

parent

cdbf8d6fc52c225fe6cf404bb3754e0ace11ac59

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M packaging/version_status.pypackaging/version_status.py

@@ -330,14 +330,14 @@ def main():

latest = get_tint2_version() distros = [] distros.append(get_debian_versions()) - distros.append(get_ubuntu_versions()) distros.append(get_bunsenlabs_versions()) - distros.append(get_arch_versions()) + distros.append(get_ubuntu_versions()) distros.append(get_fedora_versions()) distros.append(get_redhat_epel_versions()) distros.append(get_suse_versions()) - distros.append(get_gentoo_versions()) + distros.append(get_arch_versions()) distros.append(get_void_versions()) + distros.append(get_gentoo_versions()) distros.append(get_freebsd_versions()) distros.append(get_openbsd_versions()) print "| Distribution | Release | Version | Status |"

@@ -345,7 +345,7 @@ print "| ------------ | ------- | ------- | ------ |"

for dist, dcode, releases in distros: icon = "![](numix-icons/distributor-logo-{0}.svg.png)".format(dcode) for r in releases: - if r[1] == latest: + if r[1].split("-", 1)[0] == latest: status = ":white_check_mark: Latest" else: status = ":warning: Out of date"