| 1 |
#!/bin/sh |
| 2 |
# postinst script for monado |
| 3 |
# |
| 4 |
# see: dh_installdeb(1) |
| 5 |
|
| 6 |
set -e |
| 7 |
|
| 8 |
case "$1" in |
| 9 |
configure) |
| 10 |
update-alternatives --install /etc/xdg/openxr/1/active_runtime.json openxr1-active-runtime /usr/share/openxr/1/openxr_monado.json 50 |
| 11 |
;; |
| 12 |
|
| 13 |
abort-upgrade|abort-remove|abort-deconfigure) |
| 14 |
;; |
| 15 |
|
| 16 |
*) |
| 17 |
echo "postinst called with unknown argument \`$1'" >&2 |
| 18 |
exit 1 |
| 19 |
;; |
| 20 |
esac |
| 21 |
|
| 22 |
# dh_installdeb will replace this with shell code automatically |
| 23 |
# generated by other debhelper scripts. |
| 24 |
|
| 25 |
#DEBHELPER# |
| 26 |
|
| 27 |
exit 0 |