git-scripts

Scripts for managing (sta-)git repos
git clone git://git.christianermann.dev/git-scripts
Log | Files | Refs | LICENSE

install.sh (372B)


      1 #! /bin/sh
      2 
      3 cp repo-init.sh /usr/local/bin/repo-init
      4 cp repo-index.sh /usr/local/bin/repo-index
      5 cp repo-site.sh /usr/local/bin/repo-site
      6 cp repo-full-site.sh /usr/local/bin/repo-full-site
      7 
      8 cp config.rc /home/git/config.rc
      9 mkdir -p /home/git/template
     10 cp post-receive /home/git/template/post-receive
     11 
     12 chown root:wheel /home/git/config.rc
     13 chown -R git:git /home/git/template