File: gnome-keyring.postinst

package info (click to toggle)
gnome-keyring 3.28.2-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 12,440 kB
  • sloc: ansic: 77,096; sh: 4,898; makefile: 1,332; xml: 420; python: 401; sed: 16
file content (14 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

PROGRAM=/usr/bin/gnome-keyring-daemon

if [ "$1" = configure ]; then
    if which setcap > /dev/null && [ -e $PROGRAM ]; then
        if ! setcap CAP_IPC_LOCK=ep $PROGRAM >/dev/null 2>&1; then
            echo "Setting capabilities for gnome-keyring-daemon using Linux Capabilities failed."
        fi
    fi
fi

#DEBHELPER#