diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-09-21 20:37:19 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-09-21 20:37:19 (GMT) |
commit | 59386a777a8fc6edcb252ac24f74d1e680647db5 (patch) | |
tree | d7651fb1535bd8def3cf9ee1b80dfb56a8771dfe /abs/extra/git/git.install | |
parent | b927a8f31804f4bc280dbd254392ba2c5a5b6327 (diff) | |
download | linhes_pkgbuild-59386a777a8fc6edcb252ac24f74d1e680647db5.zip linhes_pkgbuild-59386a777a8fc6edcb252ac24f74d1e680647db5.tar.gz linhes_pkgbuild-59386a777a8fc6edcb252ac24f74d1e680647db5.tar.bz2 |
git: update to 2.5.3
Diffstat (limited to 'abs/extra/git/git.install')
-rw-r--r-- | abs/extra/git/git.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/git/git.install b/abs/extra/git/git.install new file mode 100644 index 0000000..064eda0 --- /dev/null +++ b/abs/extra/git/git.install @@ -0,0 +1,12 @@ +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 + fi +} + +post_upgrade() { + post_install $1 +} |