"Fossies" - the Fresh Open Source Software Archive

Member "solum-12.0.0/contrib/infra/diskimage-builder/elements/gitolite/install.d/02-install-gitolite" (30 Mar 2022, 342 Bytes) of package /linux/misc/openstack/solum-12.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 
    3 GIT_DIR=/home/git
    4 
    5 mkdir -p $GIT_DIR/admin_keys
    6 mkdir -p $GIT_DIR/bin
    7 
    8 install-packages git openssh-server
    9 
   10 locale-gen en_US.UTF-8
   11 dpkg-reconfigure locales
   12 
   13 mkdir /var/run/sshd
   14 
   15 adduser --system --group --shell /bin/sh git
   16 
   17 git clone git://github.com/sitaramc/gitolite $GIT_DIR/source
   18 cd $GIT_DIR
   19 source/install -to $GIT_DIR/bin