mirror of
https://gitee.com/amber-ce/amber-pm
synced 2025-12-18 19:31:37 +08:00
正确报错
This commit is contained in:
@@ -3,7 +3,7 @@ Source: amber-ce
|
|||||||
Version: 1.0.7.1
|
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: 49044
|
||||||
Depends: bubblewrap, flatpak, policykit-1 | pkexec | polkit-1 | polkit, systemd, procps,coreutils,fuse-overlayfs
|
Depends: bubblewrap, flatpak, policykit-1 | pkexec | polkit-1 | polkit, systemd, procps,coreutils,fuse-overlayfs
|
||||||
Section: misc
|
Section: misc
|
||||||
Conflicts: ace-host-integration
|
Conflicts: ace-host-integration
|
||||||
|
|||||||
0
src/etc/apparmor.d/apm
Normal file → Executable file
0
src/etc/apparmor.d/apm
Normal file → Executable file
@@ -118,6 +118,13 @@ case "$1" in
|
|||||||
command=$1
|
command=$1
|
||||||
shift
|
shift
|
||||||
amber-pm-debug aptss "$command" "$@"
|
amber-pm-debug aptss "$command" "$@"
|
||||||
|
exit_code=$?
|
||||||
|
if [ $exit_code -eq 0 ]; then
|
||||||
|
log.info "Operation successful"
|
||||||
|
else
|
||||||
|
log.error "Error: Operation failed"
|
||||||
|
exit $exit_code
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
remove|autoremove|purge|autopurge)
|
remove|autoremove|purge|autopurge)
|
||||||
@@ -125,6 +132,13 @@ case "$1" in
|
|||||||
command=$1
|
command=$1
|
||||||
shift
|
shift
|
||||||
amber-pm-debug aptss "$command" "$@"
|
amber-pm-debug aptss "$command" "$@"
|
||||||
|
exit_code=$?
|
||||||
|
if [ $exit_code -eq 0 ]; then
|
||||||
|
log.info "Operation successful"
|
||||||
|
else
|
||||||
|
log.error "Error: Operation failed"
|
||||||
|
exit $exit_code
|
||||||
|
fi
|
||||||
amber-pm-debug amber-pm-dstore-patch
|
amber-pm-debug amber-pm-dstore-patch
|
||||||
;;
|
;;
|
||||||
run)
|
run)
|
||||||
|
|||||||
Reference in New Issue
Block a user