diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:55:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:55:51 +0000 |
commit | 0ae57c13c2b61646cc70617eb118ccb3fc19e995 (patch) | |
tree | 3760e33eb72a4955ffa88d9cfa60579bab714dd6 /debian/config | |
parent | Adding upstream version 3.6.12. (diff) | |
download | gitolite3-0ae57c13c2b61646cc70617eb118ccb3fc19e995.tar.xz gitolite3-0ae57c13c2b61646cc70617eb118ccb3fc19e995.zip |
Adding debian version 3.6.12-1.debian/3.6.12-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/config')
-rw-r--r-- | debian/config | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/config b/debian/config new file mode 100644 index 0000000..b0e268f --- /dev/null +++ b/debian/config @@ -0,0 +1,32 @@ +#!/bin/sh +# debian/config script for the gitolite package +# Copyright 2010-2011 by Gerfried Fuchs <rhonda@debian.org> +# Licenced under WTFPLv2 + +set -e +#DEBHELPER# + +pkg=gitolite3 + +# Source debconf library. +. /usr/share/debconf/confmodule + +action=$1 +version=$2 + +if [ "$action" = "configure" -o ! -f /etc/$pkg/gitolite.rc ]; then + # ask for user to create + db_input medium $pkg/gituser || true + db_go + + # ask for repository root directory to use + db_input medium $pkg/gitdir || true + db_go + + # ask for key of admin user (either file or direct input) + db_input high $pkg/adminkey || true + db_go +fi + + +exit 0 |