Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
  • Loading branch information
JasonYangShadow committed Jul 17, 2024
1 parent cf30a3d commit c57c3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit c57c3f0

Please sign in to comment.