#!/bin/sh
set -e

case "$1" in
    configure)
        SPC_PKG_NAME="tuxedo-tomte-light"
        SPC_PKG_VERSION="1.0.0"

        

        # AUTOMATICALLY GENERATED POST-INSTALL CODE


        # SPC: Autogenerated systemd setup
        systemctl daemon-reload
        systemctl enable tuxedo-tomte-light.timer
        # Restart also starts not running units (ignore failures during installation)
        systemctl restart tuxedo-tomte-light.timer > /dev/null || true



        # END OF AUTOMATICALLY GENERATED POST-INSTALL CODE

    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

exit 0
