blob: 1d48a4ef65b5572c932684d7c614a1ffcb20e6e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
pkgname=mpv-acestream
_post_install_message() {
echo
echo ">>> To use this script, specify the following option when starting mpv:"
echo
echo " --script /usr/lib/mpv/$pkgname.lua"
echo
echo ">>> To use it automatically at every mpv startup:"
echo
echo " mkdir -p \$HOME/.config/mpv/scripts"
echo " ln -s /usr/lib/mpv/$pkgname.lua \$HOME/.config/mpv/scripts/$pkgname.lua"
echo
}
_post_uninstall_message() {
echo ">>> If you linked $pkgname script into mpv config folder,"
echo " do not forget to delete it. Check with:"
echo
echo " ls \$HOME/.config/mpv/scripts"
}
post_install() {
_post_install_message
}
post_remove() {
_post_uninstall_message
}
|