File: policykit-1.postrm

package info (click to toggle)
policykit-1 0.105-31%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,864 kB
  • sloc: ansic: 18,853; sh: 11,428; xml: 3,342; makefile: 760
file content (14 lines) | stat: -rw-r--r-- 242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

#DEBHELPER#

# This can be removed after bullseye is released as stable
for d in /etc/polkit-1/nullbackend.conf.d /etc/polkit-1; do
    if [ -d "$d" ]; then
        rmdir --ignore-fail-on-non-empty "$d"
    fi
done

exit 0