mirror of
https://gitee.com/amber-ce/amber-pm
synced 2025-12-17 19:01:37 +08:00
1.0.7.1 ubuntu fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
Package: apm
|
Package: apm
|
||||||
Source: amber-ce
|
Source: amber-ce
|
||||||
Version: 1.0.7
|
Version: 1.0.7.1
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Maintainer: shenmo <shenmo@spark-app.store>
|
Maintainer: shenmo <shenmo@spark-app.store>
|
||||||
Installed-Size: 49036
|
Installed-Size: 49036
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ systemctl enable gxde-apm-fixer
|
|||||||
systemctl enable apm-daily-update
|
systemctl enable apm-daily-update
|
||||||
systemctl start gxde-apm-fixer
|
systemctl start gxde-apm-fixer
|
||||||
systemctl start apm-daily-update
|
systemctl start apm-daily-update
|
||||||
|
systemctl restart apparmor.service || true
|
||||||
|
|
||||||
if [ -f /usr/lib/sysctl.d/apm.conf ];then
|
if [ -f /usr/lib/sysctl.d/apm.conf ];then
|
||||||
sysctl -p /usr/lib/sysctl.d/apm.conf
|
sysctl -p /usr/lib/sysctl.d/apm.conf
|
||||||
|
|||||||
9
src/etc/apparmor.d/apm
Normal file
9
src/etc/apparmor.d/apm
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
abi <abi/4.0>,
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
profile bwrap /usr/bin/bwrap flags=(unconfined) {
|
||||||
|
userns,
|
||||||
|
|
||||||
|
# Site-specific additions and overrides. See local/README for details.
|
||||||
|
include if exists <local/bwrap>
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user