diff --git a/debian/rules b/debian/rules index 14be9c13b476e3394ae1dd77f6726051309ce6b9..c4e2d709bf6f604434d4f695a55de4daefd549cc 100755 --- a/debian/rules +++ b/debian/rules @@ -27,8 +27,7 @@ include /usr/share/dpkg/pkg-info.mk PYTHON_VERSIONS := $(shell py3versions --installed) -RUBY_VERSIONS := $(shell find /usr/bin/ -name 'ruby[12]*' \ - | xargs -n1 readlink -f | xargs -n1 basename) +RUBY_VERSIONS := $(shell dh_ruby --print-supported) # Determine the number of builds needed due to script language version # variants