aboutsummaryrefslogtreecommitdiffstats
path: root/extra/tinyproxy/tinyproxy.install
diff options
context:
space:
mode:
authorCarlo Lanmdeter <clandmeter@gmail>2009-03-05 14:48:30 +0000
committerCarlo Lanmdeter <clandmeter@gmail>2009-03-05 14:48:30 +0000
commitdf930dbd9fb00c1c381229a2c5ce68d82eaa53eb (patch)
treea90740e8ab2134ad00ecf6ae8b205ec9f7c4990f /extra/tinyproxy/tinyproxy.install
parent87f8eb8ec3fad06f3d1ab02fc4aa36e4143c3baa (diff)
parent739bdededdec7f411de9223fe440fc8141afe80b (diff)
downloadaports-df930dbd9fb00c1c381229a2c5ce68d82eaa53eb.tar.bz2
aports-df930dbd9fb00c1c381229a2c5ce68d82eaa53eb.tar.xz
Merge commit 'ncopa/master'
Diffstat (limited to 'extra/tinyproxy/tinyproxy.install')
-rw-r--r--extra/tinyproxy/tinyproxy.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/tinyproxy/tinyproxy.install b/extra/tinyproxy/tinyproxy.install
new file mode 100644
index 0000000000..5fa366737b
--- /dev/null
+++ b/extra/tinyproxy/tinyproxy.install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+case "$1" in
+ pre_install)
+ adduser -h /dev/null -s /bin/false -D tinyproxy 2>/dev/null
+ ;;
+ post_install)
+ chown tinyproxy:tinyproxy /var/run/tinyproxy
+ ;;
+esac
+
+# return with success even if user already exist
+exit 0