From 629f83617702b26345b1327b041d7a8413d14e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 6 Aug 2020 05:30:37 +0200 Subject: [PATCH] debian: fix version detection for python3?-nautilus dependency On buster and stretch use python-nautilus, but /etc/debian_version contains numeric version, not a codename. Reported by @0spinboson --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 9ea1c59..9eb7657 100755 --- a/debian/rules +++ b/debian/rules @@ -40,7 +40,7 @@ override_dh_install: dh_install --fail-missing override_dh_gencontrol: -ifneq ($(shell grep -o 'stretch\|buster' /etc/debian_version),) +ifneq ($(shell grep -o '^9\|^10' /etc/debian_version),) echo "pythonver:Depends=python" >> debian/qubes-core-agent-nautilus.substvars else echo "pythonver:Depends=python3" >> debian/qubes-core-agent-nautilus.substvars