diff --git a/src/DEBIAN/control b/src/DEBIAN/control index 01c15b3..ee98379 100755 --- a/src/DEBIAN/control +++ b/src/DEBIAN/control @@ -3,7 +3,7 @@ Source: amber-ce Version: 1.0.7.1 Architecture: amd64 Maintainer: shenmo -Installed-Size: 49036 +Installed-Size: 49044 Depends: bubblewrap, flatpak, policykit-1 | pkexec | polkit-1 | polkit, systemd, procps,coreutils,fuse-overlayfs Section: misc Conflicts: ace-host-integration diff --git a/src/etc/apparmor.d/apm b/src/etc/apparmor.d/apm old mode 100644 new mode 100755 diff --git a/src/usr/bin/apm b/src/usr/bin/apm index 7cea672..56291e6 100755 --- a/src/usr/bin/apm +++ b/src/usr/bin/apm @@ -118,6 +118,13 @@ case "$1" in command=$1 shift 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) @@ -125,6 +132,13 @@ case "$1" in command=$1 shift 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 ;; run)