File: libopenxr1-monado.postinst

package info (click to toggle)
monado 21.0.0~dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 9,972 kB
  • sloc: cpp: 75,052; ansic: 62,517; python: 862; java: 635; xml: 503; sh: 209; makefile: 54
file content (27 lines) | stat: -rwxr-xr-x 532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# postinst script for monado
#
# see: dh_installdeb(1)

set -e

case "$1" in
    configure)
        update-alternatives --install /etc/xdg/openxr/1/active_runtime.json openxr1-active-runtime /usr/share/openxr/1/openxr_monado.json 50
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0