Changeset 2588 for trunk/packages


Ignore:
Timestamp:
Dec 5, 2009, 5:14:29 PM (15 years ago)
Author:
broder
Message:

Create /srv/git when installing invirt-dev if it doesn't exist.

(Otherwise invirt-build-conf fails)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/debian/invirt-dev.postinst

    r2581 r2588  
    1515        if ! getent passwd git >/dev/null 2>&1; then
    1616            adduser --system --home /srv/git --shell /usr/bin/git-shell git
     17        fi
     18
     19        if ! [ -d /srv/git ]; then
     20            mkdir -p /srv/git
    1721        fi
    1822
Note: See TracChangeset for help on using the changeset viewer.