From 664b71daee7b42de2364bbbbf76a40fb9ad5817c Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 4 Jun 2015 10:57:25 +0200 Subject: changed skin installation that VDR main loop is not blocked --- libcore/skinrepo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcore') diff --git a/libcore/skinrepo.c b/libcore/skinrepo.c index 91f22a9..c6943f9 100644 --- a/libcore/skinrepo.c +++ b/libcore/skinrepo.c @@ -32,7 +32,7 @@ void cSkinRepo::Install(string path, string themesPath) { this->themesPath = themesPath; if (repoType == rtGit) { - command = *cString::sprintf("git clone --progress %s %s", url.c_str(), skinPath.c_str()); + command = *cString::sprintf("git clone --depth=1 --progress %s %s", url.c_str(), skinPath.c_str()); tempfile = *cString::sprintf("gitclone_%s_%ld.out", name.c_str(), time(0)); dsyslog("skindesigner: installing skin from Git, command: %s, logfile: %s", command.c_str(), tempfile.c_str()); -- cgit v1.2.3