summaryrefslogtreecommitdiff
path: root/community/squid/squid.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/squid/squid.install')
-rw-r--r--community/squid/squid.install26
1 files changed, 0 insertions, 26 deletions
diff --git a/community/squid/squid.install b/community/squid/squid.install
deleted file mode 100644
index a7c76d87a..000000000
--- a/community/squid/squid.install
+++ /dev/null
@@ -1,26 +0,0 @@
-post_install() {
- if [ -z "$(grep ^proxy: /etc/group)" ]; then
- groupadd -g 15 proxy &>/dev/null
- fi
-
- id proxy &>/dev/null || \
- useradd -u 15 -g proxy -d /var/empty proxy
-
- chown proxy.proxy var/{cache,log}/squid
-
-# cat << EOF
-#Release notes: http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html
-#EOF
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- userdel proxy &> /dev/null
- if [ ! -z "$(grep ^proxy: /etc/group)" ]; then
- groupdel proxy &>/dev/null
- fi
-}
-