diff options
author | Atnanasi | 2016-02-22 16:35:53 +0900 |
---|---|---|
committer | Atnanasi | 2016-02-22 16:35:53 +0900 |
commit | 519fd89f0d57b01aa9b12cea503207606659d1fd (patch) | |
tree | fabea7df1ef4f35af0c7cdb4784ef3a0118744fc /tor-browser-ja.install | |
download | aur-519fd89f0d57b01aa9b12cea503207606659d1fd.tar.gz |
Fix files
Diffstat (limited to 'tor-browser-ja.install')
-rw-r--r-- | tor-browser-ja.install | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tor-browser-ja.install b/tor-browser-ja.install new file mode 100644 index 000000000000..8ac87b6a4495 --- /dev/null +++ b/tor-browser-ja.install @@ -0,0 +1,43 @@ +pkgname="tor-browser-ja" + +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.en)." + 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" + echo "==> the first time you run $pkgname as your normal user!" + echo "==> Just start it and have fun." + echo +} + +pre_upgrade() { + # remove old files + rm -rf /opt/$pkgname +} + +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}" + echo +} |