summarylogtreecommitdiffstats
path: root/tor-browser.install
blob: 4328a63b159f812fefaff3ef0f864a43083a5ac2 (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
34
35
36
37
38
39
pkgname='tor-browser'
_language='vi'

pre_install() {
	echo
	echo "==> If you want to verify the gnupg signature you have to"
	echo "==> import the proper public key first (Found on https://www.torproject.org/docs/signing-keys.html)."
	echo "==> Choose one and use the following command to import it:"
	echo "==> "
	echo "==> gpg --recv-keys <keyid>"
	echo "==> "
	echo "==> After that, signature verifying should work."
	echo
}

post_install() {
	echo
	echo "==> ${pkgname} will be extracted to ~/.${pkgname}-${_language,,}"
	echo "==> the first time you run ${pkgname} as your normal user!"
	echo "==> Just start it and have fun."
	echo
}

post_upgrade() {
	echo
	echo "==> The ${pkgname} copy in your home directory will be upgraded at the"
	echo "==> first time you run it as your normal user!"
	echo "==> Just start and have fun."
	echo
}

post_remove() {
	echo
	echo "==> You have to remove the tor-brower directory in your home"
	echo "==> directory by hand: As your normal user, do:"
	echo "==> "
	echo "==> rm -rf ~/.${pkgname}-${_language,,}"
	echo
}