summarylogtreecommitdiffstats
path: root/vice-clipper.install
blob: eb6914562128b59a6d523c8c6bc94b43bf2f50d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
    echo ":: To start clipping at login, enable the Vice daemon for your user:"
    echo "::   systemctl --user enable --now vice.service"
}

post_upgrade() {
    # The user service is new in 1.3.5; show the hint once for older installs
    if [ "$(vercmp "$2" 1.3.5)" -lt 0 ]; then
        post_install
    fi
}