Debian Codegraph @

selinux/packaging/scripts/centreon-plugins-selinux-postinstall.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 installscip-shell shell centreon-plugins 0.0~20250303+dfsg-1 install().() {
4 semodule -i /usr/share/selinux/packages/centreon/centreon-plugins.ppscip-shell filesystem . . `/usr/share/selinux/packages/centreon/centreon-plugins.pp`. > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || :
5 }
6
7 upgradescip-shell shell centreon-plugins 0.0~20250303+dfsg-1 upgrade().() {
8 semodule -i /usr/share/selinux/packages/centreon/centreon-plugins.ppscip-shell filesystem . . `/usr/share/selinux/packages/centreon/centreon-plugins.pp`. > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || :
9 }
10
11 action="$1"
12 if [scip-shell system . . `[`. "$1" = "configure" ] && [scip-shell system . . `[`. -z "$2" ]; then
13 action="install"
14 elif [scip-shell system . . `[`. "$1" = "configure" ] && [scip-shell system . . `[`. -n "$2" ]; then
15 action="upgrade"
16 fi
17
18 case "$action" in
19 "1" | "install")
20 installscip-shell shell centreon-plugins 0.0~20250303+dfsg-1 install().
21 ;;
22 "2" | "upgrade")
23 upgradescip-shell shell centreon-plugins 0.0~20250303+dfsg-1 upgrade().
24 ;;
25 esac