* Switch to using filenames for the profiles that do not embed the
path of the confined executable, in line with upstream AppArmor
* Use an AppArmor variable for the installation directory, that only
needs to be substituted once into each profile file
* Update the `apparmor.sh` installation script in line with the
above, tweak the sed pattern to avoid the need to escape the
install-directory string, and don't let trailing slashes in the
arguments lead to double slashes in the outputs.
Change-Id: I3400290659a4dd56aa8b7efb2aecf2cf4cd8c49d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190843
Tested-by: Jenkins
Reviewed-by: René Engelhard <rene@debian.org>
Tested-by: René Engelhard <rene@debian.org>