File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,26 @@ public function supports($packageType)
3131 {
3232 return 'devbr-pack ' === $ packageType ;
3333 }
34+
35+
36+ /**
37+ * {@inheritDoc}
38+ */
39+ public function install(InstalledRepositoryInterface $ repo , PackageInterface $ package )
40+ {
41+ $ this ->initializeVendorDir ();
42+ $ downloadPath = $ this ->getInstallPath ($ package );
43+ // remove the binaries if it appears the package files are missing
44+ if (!is_readable ($ downloadPath ) && $ repo ->hasPackage ($ package )) {
45+ $ this ->binaryInstaller ->removeBinaries ($ package );
46+ }
47+ $ this ->installCode ($ package );
48+ $ this ->binaryInstaller ->installBinaries ($ package , $ this ->getInstallPath ($ package ));
49+ if (!$ repo ->hasPackage ($ package )) {
50+ $ repo ->addPackage (clone $ package );
51+ }
52+
53+ //ME Code ----
54+ if (file_exists ($ downloadPath .'/Config ' ) && is_read.. .
55+ }
3456}
You can’t perform that action at this time.
0 commit comments