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
This commit is contained in:
parent
497dd8d50d
commit
629f836177
2
debian/rules
vendored
2
debian/rules
vendored
@ -40,7 +40,7 @@ override_dh_install:
|
|||||||
dh_install --fail-missing
|
dh_install --fail-missing
|
||||||
|
|
||||||
override_dh_gencontrol:
|
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
|
echo "pythonver:Depends=python" >> debian/qubes-core-agent-nautilus.substvars
|
||||||
else
|
else
|
||||||
echo "pythonver:Depends=python3" >> debian/qubes-core-agent-nautilus.substvars
|
echo "pythonver:Depends=python3" >> debian/qubes-core-agent-nautilus.substvars
|
||||||
|
Loading…
Reference in New Issue
Block a user