My build of dwm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dwm.postinst.in 461 B

3 vuotta sitten
1234567891011121314151617181920212223242526272829
  1. #!/bin/sh
  2. set -e
  3. ALTERNATIVES="@ALTERNATIVES@"
  4. case "${1}" in
  5. configure)
  6. update-alternatives --quiet --install /usr/bin/dwm dwm /usr/bin/dwm.default 100
  7. for ALTERNATIVE in ${ALTERNATIVES}
  8. do
  9. update-alternatives --quiet --install /usr/bin/dwm dwm /usr/bin/dwm.${ALTERNATIVE} 50
  10. done
  11. ;;
  12. abort-upgrade|abort-remove|abort-deconfigure)
  13. ;;
  14. *)
  15. echo "postinst called with unknown argument \`${1}'" >&2
  16. exit 1
  17. ;;
  18. esac
  19. #DEBHELPER#
  20. exit 0