updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tor-browser-en / tor-browser-en.install
blob310a47bfb754b06463a3343548fd53e96c6a86d7
1 post_install() {
2         chown -R 1000:1000 /opt/tor-browser-en/
4         #echo "------------------------------------------------------------"
5         echo ""
6         echo "==> Tor-Browser's files need to be owned by the user executing them"
7         echo "==> I did chown them to user id 1000."
8         echo "==> If your main user's id differs, you have to change the ownership manually:"
9         echo "==> chown -R USER:USER /opt/tor-browser-en"
10         echo ""
11         #echo "------------------------------------------------------------"
14 pre_upgrade() {
15         # To prevent file conflict errors while upgrading
16         rm -rf /opt/tor-browser-en/Data/profile/
19 post_upgrade() {
20         post_install
23 post_remove() {
24         # Remove files created by tor-browser
25         rm -rf /opt/tor-browser-en
28 # vim:set ts=2 sw=2 et: