diff options
author | Dct Mei | 2021-02-04 23:17:02 +0800 |
---|---|---|
committer | Dct Mei | 2021-02-04 23:17:02 +0800 |
commit | 833793619241c86de6b965879ff5710dfdb61439 (patch) | |
tree | e7c277c0edefb1f9540037985e44d8c32a9d5973 /transmission-web-control-git.install | |
parent | e506681b6a2fccebf1729024f32033d438365597 (diff) | |
download | aur-833793619241c86de6b965879ff5710dfdb61439.tar.gz |
feat: v1.6.1.update1.r23.g4e0c781-1
Diffstat (limited to 'transmission-web-control-git.install')
-rw-r--r-- | transmission-web-control-git.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/transmission-web-control-git.install b/transmission-web-control-git.install new file mode 100644 index 000000000000..18c30b0d45fd --- /dev/null +++ b/transmission-web-control-git.install @@ -0,0 +1,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' +} |