From 23cad47f8da5fcd1fcd933960269f7f36b133ddf Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Thu, 25 Jul 2024 19:25:34 +0530 Subject: [PATCH] Fix a syntax error in postinst when installing Ubuntu 24 deb package --- pkg/debian/build.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkg/debian/build.sh b/pkg/debian/build.sh index fae4a99a3..283cad717 100755 --- a/pkg/debian/build.sh +++ b/pkg/debian/build.sh @@ -83,11 +83,8 @@ EOF cat << EOF > "${DESKTOPROOT}/DEBIAN/postinst" #!/bin/sh -STATUS="$(systemctl is-active apparmor.service)" -if [ "${STATUS}" == "active" ]; then - echo "Load apparmor pgAdmin profile..." - apparmor_parser -r /etc/apparmor.d/pgadmin4 -fi +echo "Load apparmor pgAdmin profile..." +apparmor_parser -r /etc/apparmor.d/pgadmin4 EOF chmod 755 "${DESKTOPROOT}/DEBIAN/postinst" fi