Skip to content

Commit

Permalink
d/rules: render
Browse files Browse the repository at this point in the history
  • Loading branch information
panlinux committed Nov 22, 2023
1 parent 3ccd7af commit d6a370f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ override_dh_systemd_start:

override_dh_auto_install:
dh_auto_install --destdir=debian/ubuntu-advantage-tools
debian/jinja2_render debian/apparmor/ubuntu_advantage_apt_news.jinja2 debian/apparmor/ubuntu_advantage_apt_news ubuntu_codename=${UBUNTU_CODENAME}
install -D -m 644 $(CURDIR)/debian/apparmor/ubuntu_advantage_apt_news $(CURDIR)/debian/ubuntu-advantage-tools/etc/apparmor.d/ubuntu_advantage_apt_news
dh_apparmor -pubuntu-advantage-tools --profile-name=ubuntu_advantage_apt_news

Expand All @@ -89,3 +90,4 @@ endif
override_dh_auto_clean:
dh_auto_clean
make clean
rm -f debian/apparmor/ubuntu_advantage_apt_news

0 comments on commit d6a370f

Please sign in to comment.