summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-16 14:40:33 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-16 14:40:33 +0000
commit1fbded9d3afd766e861577ba08d0f86f952de64e (patch)
tree005a4d835adae1abb402e5756afb0e8677b194e4 /debian/postinst
parenta4103962fca97bf217c3abd53f611634a4f81f5b (diff)
Tested final release for new layout
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst
index 4289690..70eac96 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -26,7 +26,7 @@ if [ "$1" = configure ]; then
# which allows us to install our binaries without the setuid
# bit.
if command -v setcap > /dev/null; then
- setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" /opt/oarc/bpq/linbpq
+ setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" /usr/sbin/linbpq
else
echo "Setcap failed on /usr/sbin/linbpq, Features may be limited" >&2
fi