summarylogtreecommitdiffstats
path: root/klipper.install
blob: a912116ec24fc6ff6219dbc39694a252909a164e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    echo "Before launching, copy one of example configs in /usr/lib/klipper/config/ to /etc/klipper/klipper.cfg and adjust it to suit your printer"
}

post_upgrade() {
    post_install
}

post_remove() {
    echo "Removing generated files"
    [ -e /usr/local/bin/klipper_mcu ] && rm -v /usr/local/bin/klipper_mcu
    [ -e /usr/lib/klipper/out ] && rm -rv /usr/lib/klipper/out
}