From f56862c684ed497a6bf7edcffbdfcfcc2770235c Mon Sep 17 00:00:00 2001 From: Sorvani Date: Tue, 11 Jul 2017 22:28:31 -0500 Subject: [PATCH] change CentOS 7 to pull from git (#3734) The package setup for CentOS 7 already installs git so use it for the install. This makes later updates easier for the end users. They can simply use git pull like the instructions say for updating. --- snipeit.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/snipeit.sh b/snipeit.sh index 59ec164bfc..5231849424 100755 --- a/snipeit.sh +++ b/snipeit.sh @@ -446,9 +446,7 @@ case $distro in echo -e "\n## Downloading Snipe-IT from github and put it in the web directory."; - log "wget -P $tmp/ https://github.com/snipe/snipe-it/archive/$file" - log "unzip -qo $tmp/$file -d $tmp/" - log "cp -R $tmp/$fileName $webdir/$name" + log "git clone https://github.com/snipe/snipe-it $webdir/$name" # Make mariaDB start on boot and restart the daemon echo "## Starting the mariaDB server.";