kych

OAuth 2.0 API for Swiyu to enable Taler integration of Swiyu for KYC (experimental)
Log | Files | Refs | Submodules | README | LICENSE

swiyu-verifier.postrm (569B)


      1 #!/bin/sh
      2 # The truststore is generated by the postinst, not shipped, so dpkg does not
      3 # know about it and it has to be removed here.  Only on purge: an upgrade or a
      4 # plain remove may well be followed by the package coming back.
      5 
      6 set -e
      7 
      8 case "${1}" in
      9 purge)
     10   rm -f /var/lib/swiyu-verifier/cacerts
     11   rmdir --ignore-fail-on-non-empty /var/lib/swiyu-verifier 2>/dev/null || true
     12   ;;
     13 
     14 remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear) ;;
     15 
     16 *)
     17   echo "postrm called with unknown argument \`${1}'" >&2
     18   exit 1
     19   ;;
     20 esac
     21 
     22 #DEBHELPER#
     23 
     24 exit 0