Skip to content

A free open source IT asset/license management system

change CentOS 7 to pull from git (#3734)

Sorvanif56862c684ed
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.";