summaryrefslogtreecommitdiff
path: root/testing/git/git.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/git/git.install')
-rw-r--r--testing/git/git.install22
1 files changed, 0 insertions, 22 deletions
diff --git a/testing/git/git.install b/testing/git/git.install
deleted file mode 100644
index 9edc065ba..000000000
--- a/testing/git/git.install
+++ /dev/null
@@ -1,22 +0,0 @@
-post_install() {
- if ! getent group git >/dev/null; then
- groupadd --system git
- fi
- if ! getent passwd git >/dev/null; then
- useradd --system -c 'git daemon user' -g git -d / -s /bin/bash git
- passwd -l git >/dev/null
- fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- if getent passwd git >/dev/null; then
- userdel git
- fi
- if getent group git >/dev/null; then
- groupdel git
- fi
-}