git-buildpackage.preinst 835 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/sh
  2. # preinst script for libvirt-daemon-system
  3. #
  4. # see: dh_installdeb(1)
  5. set -e
  6. # summary of how this script can be called:
  7. # * <new-preinst> `install'
  8. # * <new-preinst> `install' <old-version>
  9. # * <new-preinst> `upgrade' <old-version>
  10. # * <old-preinst> `abort-upgrade' <new-version>
  11. # for details, see http://www.debian.org/doc/debian-policy/ or
  12. # the debian-policy package
  13. case "$1" in
  14. install|upgrade)
  15. dpkg-maintscript-helper rm_conffile \
  16. /etc/bash_completion.d/git-buildpackage 0.6.34~ git-buildpackage -- "$@"
  17. ;;
  18. abort-upgrade)
  19. ;;
  20. *)
  21. echo "preinst called with unknown argument \`$1'" >&2
  22. exit 1
  23. ;;
  24. esac
  25. # dh_installdeb will replace this with shell code automatically
  26. # generated by other debhelper scripts.
  27. #DEBHELPER#
  28. exit 0