Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use symlink to existing apparmor-profiles file instead of copy
Browse files Browse the repository at this point in the history
GloriousEggroll committed Oct 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f21c7e6 commit 0b4b9dc
Showing 5 changed files with 4 additions and 70 deletions.
68 changes: 0 additions & 68 deletions packaging/deb/debian/apparmor/bwrap-userns-restrict-umu

This file was deleted.

3 changes: 2 additions & 1 deletion packaging/deb/debian/control
Original file line number Diff line number Diff line change
@@ -35,5 +35,6 @@ Depends:
${misc:Depends},
python3,
python3-xlib (>= 0.33),
python3-filelock (>= 3.9.0)
python3-filelock (>= 3.9.0),
apparmor-profiles
Description: A tool for launching non-steam games with proton.
1 change: 0 additions & 1 deletion packaging/deb/debian/python3-umu-launcher.install
Original file line number Diff line number Diff line change
@@ -2,4 +2,3 @@ usr/bin/umu-run
usr/share/man/*
usr/share/steam/compatibilitytools.d/umu-launcher/
usr/lib/python3/dist-packages/umu*
debian/apparmor/bwrap-userns-restrict-umu etc/apparmor.d/
1 change: 1 addition & 0 deletions packaging/deb/debian/python3-umu-launcher.postinst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#! /bin/bash

ln -s /usr/share/apparmor/extra-profiles/bwrap-userns-restrict /etc/apparmor.d/bwrap-userns-restrict-umu
systemctl restart apparmor.service || true
1 change: 1 addition & 0 deletions packaging/deb/debian/python3-umu-launcher.postrm
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#! /bin/bash

rm /etc/apparmor.d/bwrap-userns-restrict-umu
systemctl restart apparmor.service || true

0 comments on commit 0b4b9dc

Please sign in to comment.