#!/bin/sh -e

if command -v install-docs >/dev/null 2>&1; then
  install-docs -r junior-quickguide
fi

if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
  if [ -L /usr/doc/junior-doc ]; then
    rm -f /usr/doc/junior-doc
  fi
fi
