aboutsummaryrefslogtreecommitdiffstats
path: root/main/squid
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:40 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:56:13 +0000
commit8ac766921c78afe221fa463b6ec07e9e4da4d520 (patch)
tree38a0d3b260f22e7a1020519b071eab5ef7a09f9a /main/squid
parenta60b9f07dee0ae4e9bbe34d4146661fcb33aa478 (diff)
downloadaports-8ac766921c78afe221fa463b6ec07e9e4da4d520.tar.bz2
aports-8ac766921c78afe221fa463b6ec07e9e4da4d520.tar.xz
main/squid: Fix squid's home directory specification.
Previously it led to setting default one in /home/.
Diffstat (limited to 'main/squid')
-rw-r--r--main/squid/squid.pre-install2
-rw-r--r--main/squid/squid.pre-upgrade2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/squid/squid.pre-install b/main/squid/squid.pre-install
index 11ff2bc3d9..f613759aa6 100644
--- a/main/squid/squid.pre-install
+++ b/main/squid/squid.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
-adduser -S -D -g squid squid -H /var/cache/squid 2>/dev/null
+adduser -S -D -h /var/cache/squid -g squid squid 2>/dev/null
addgroup -S winbind 2>/dev/null
addgroup squid winbind 2>/dev/null
diff --git a/main/squid/squid.pre-upgrade b/main/squid/squid.pre-upgrade
index 11ff2bc3d9..f613759aa6 100644
--- a/main/squid/squid.pre-upgrade
+++ b/main/squid/squid.pre-upgrade
@@ -1,6 +1,6 @@
#!/bin/sh
-adduser -S -D -g squid squid -H /var/cache/squid 2>/dev/null
+adduser -S -D -h /var/cache/squid -g squid squid 2>/dev/null
addgroup -S winbind 2>/dev/null
addgroup squid winbind 2>/dev/null