summarylogtreecommitdiffstats
path: root/transmission-web-control-git.install
blob: 18c30b0d45fd756ccc67c87018da4794f43ed14a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
    echo '==> Please specify the environment variable as:'
    echo '==> TRANSMISSION_WEB_HOME="/usr/share/transmission/web-control/"'
    echo '==> # systemctl edit transmission.service'
    echo '==> [Service]'
    echo '==> Environment=TRANSMISSION_WEB_HOME="/usr/share/transmission/web-control/"'
}

post_upgrade() {
    post_install
}

post_remove() {
    echo '==> Please remove the previously set environment variables:'
    echo '==> # systemctl revert transmission.service'
}