     do {
         if !exists(path: archive) {
             print("Downloading \(url) ...")
-            try download(url: url, output: archive, verbose: true)
+            try download(url: url, output: archive, verbose: false)
         }
     } catch {
         fail("Could not download SPM package")
     }
 
     do {
-        print("Unpacking \(archive) ...")
         try unpack(archive: archive, verbose: false)
     } catch {
         fail("Could not unpack archive")

        fail("Could not remove directory '\(unpackedDir)'")
    }
    
    do {
        if exists(path: archive) {
            try rm(file: archive)
        }

    guard isDir(path: targetDir) else {
        fail("Install location '\(targetDir)' is not a directory")
    }
    if targetDir.characters.last == "/" {
        print("trainling /")
    } else {
        print("ok")
    }
    return

    let url = downloadURL(repository: repository, branch: branch)
    let archive = "./tmp.tgz"
