blob: e53a87a7c3f45ef34ebc3aa84c7c01924e35fc30 (
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
30
31
32
33
|
## arg 1: the new package version
pre_install() {
echo " ## "
echo " ## Please remember to close firefox before installing this package, otherwise"
echo " ## you might be stuck with the following issue https://answers.launchpad.net/pipelight/+faq/2357"
echo " ## "
}
pre_upgrade() {
pre_install $1
}
post_install() {
pipelight-plugin --create-mozilla-plugins
pipelight-plugin --accept --enable silverlight
echo " >> "
echo " >> Please remember to change config in /usr/share/pipelight/pipelight if any of your paths are different "
echo " >> and you did not change these in the PKGBUILD."
echo " >> Location of the installer and config file is dependent on the value of _prefix in the PKGBUILD"
echo " >> "
echo " >> You also need to change the user agent string as described here https://answers.launchpad.net/pipelight/+faq/2351"
echo " >> otherwise netflix will detect linux and not play by default "
echo " >> "
}
post_upgrade() {
pipelight-plugin --update
}
pre_remove() {
pipelight-plugin --remove-mozilla-plugins
}
|