From 4fe4321c06a7140fcfe580f64b74bda85725f89f Mon Sep 17 00:00:00 2001 From: jason yang Date: Wed, 17 Jul 2024 01:13:38 +0000 Subject: [PATCH] test Signed-off-by: jason yang --- dist/debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/debian/rules b/dist/debian/rules index 620f315df..a5c398f81 100755 --- a/dist/debian/rules +++ b/dist/debian/rules @@ -98,7 +98,7 @@ override_dh_auto_install: @dh_auto_install -Smakefile -D$(DEB_SC_BUILDDIR) @./scripts/install-dependencies $(pkgdir)/usr/libexec # Apparmor userns profile needed on Ubuntu 24.04, or unconfined placeholder for older versions. - if ([ $(OS_MAJOR) -gt 23 ] || [ "$OS_VERSION" = "23.10" ]) && [[ $(OS_NAME) = "Ubuntu" ]]; then \ + if ([ $(OS_MAJOR) -gt 23 ] || [ "$(OS_VERSION)" = "23.10" ]) && [[ $(OS_NAME) = "Ubuntu" ]]; then \ echo "Ubuntu 24.04 or newer - installing apparmor userns profile"; \ install -D -m 644 dist/debian/apparmor-userns $(pkgdir)/etc/apparmor.d/apptainer; \ else \