#! /bin/bash -e

if [[ $1 == "remove" ]]; then
        unlink /etc/cron.daily/cupscloudprint
fi
find /usr/share/cloudprint-cups/ -name *.pyc -type f -delete