[breaking] Fixed detection of double-install using lib install with --git-url or --zip-path
#1983
+230
−189
lib install with --git-url or --zip-path
#1983