Mail archive
alpine-aports

[alpine-aports] [PATCH 6/7] main/squid: Fix squid's home directory specification.

From: Przemyslaw Pawelczyk <przemoc_at_zoho.com>
Date: Sat, 23 Apr 2016 13:13:40 +0200

Previously it led to setting default one in /home/.
---
 main/squid/squid.pre-install | 2 +-
 main/squid/squid.pre-upgrade | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/main/squid/squid.pre-install b/main/squid/squid.pre-install
index 11ff2bc..f613759 100644
--- a/main/squid/squid.pre-install
+++ b/main/squid/squid.pre-install
_at_@ -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 11ff2bc..f613759 100644
--- a/main/squid/squid.pre-upgrade
+++ b/main/squid/squid.pre-upgrade
_at_@ -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
 
-- 
2.6.6
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Apr 23 2016 - 13:13:40 GMT