mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix a syntax error in postinst when installing Ubuntu 24 deb package
This commit is contained in:
parent
5fd308aafc
commit
23cad47f8d
@ -83,11 +83,8 @@ EOF
|
|||||||
cat << EOF > "${DESKTOPROOT}/DEBIAN/postinst"
|
cat << EOF > "${DESKTOPROOT}/DEBIAN/postinst"
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
STATUS="$(systemctl is-active apparmor.service)"
|
|
||||||
if [ "${STATUS}" == "active" ]; then
|
|
||||||
echo "Load apparmor pgAdmin profile..."
|
echo "Load apparmor pgAdmin profile..."
|
||||||
apparmor_parser -r /etc/apparmor.d/pgadmin4
|
apparmor_parser -r /etc/apparmor.d/pgadmin4
|
||||||
fi
|
|
||||||
EOF
|
EOF
|
||||||
chmod 755 "${DESKTOPROOT}/DEBIAN/postinst"
|
chmod 755 "${DESKTOPROOT}/DEBIAN/postinst"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user