summaryrefslogtreecommitdiff
path: root/community/tor/tor.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/tor/tor.install
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/tor/tor.install')
-rw-r--r--community/tor/tor.install17
1 files changed, 0 insertions, 17 deletions
diff --git a/community/tor/tor.install b/community/tor/tor.install
deleted file mode 100644
index beceb6070..000000000
--- a/community/tor/tor.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install() {
- groupadd -g 43 tor &>/dev/null
- useradd -u 43 -g tor -d /var/lib/tor -s /bin/false tor &> /dev/null
- chown tor:tor var/lib/tor &> /dev/null
- chmod 700 var/lib/tor &> /dev/null
-}
-
-post_upgrade() {
- getent group tor &>/dev/null || groupadd -g 43 tor &>/dev/null
- getent passwd tor &>/dev/null || useradd -u 43 -g tor -d /var/lib/tor -s /bin/false tor &> /dev/null
- chown tor:tor var/lib/tor &> /dev/null
-}
-
-pre_remove() {
- getent passwd tor &>/dev/null && userdel tor &> /dev/null
- getent group tor &>/dev/null && groupdel tor &> /dev/null
-}