Procházet zdrojové kódy

parsePackageList: include pkgrel in version

morganamilo před 6 roky
rodič
revize
aca65e743a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      install.go

+ 1 - 1
install.go

@@ -478,7 +478,7 @@ func parsePackageList(dir string) (map[string]string, string, error) {
 		// This assumes 3 dashes after the pkgname, Will cause an error
 		// if the PKGEXT contains a dash. Please no one do that.
 		pkgname := strings.Join(split[:len(split)-3], "-")
-		version = strings.Join(split[len(split)-3:len(split)-2], "-")
+		version = strings.Join(split[len(split)-3:len(split)-1], "-")
 		pkgdests[pkgname] = line
 	}