File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 6
6
"log"
7
7
"net/http"
8
8
"os"
9
+ "path/filepath"
9
10
"runtime"
10
11
"strings"
11
12
@@ -109,8 +110,14 @@ func infoPackage(c *cli.Context) error {
109
110
fmt .Printf ("Name: %s\n " , pkg .Name ())
110
111
fmt .Printf ("Version: %s\n " , pkg .Version ())
111
112
fmt .Printf ("Summary: %s\n " , pkg .Summary ())
113
+ fmt .Printf ("URL: %s\n " , pkg .Source ().URL )
114
+ fmt .Printf ("Build system: %s\n " , pkg .Source ().BuildSystem )
115
+ fmt .Printf ("Build arguments: %v\n " , pkg .Source ().BuildArguments )
112
116
fmt .Printf ("Description: %s\n " , pkg .Description ())
113
117
fmt .Printf ("Installed: %s\n " , isInstalled )
118
+ if isInstalled == "yes" {
119
+ fmt .Printf ("Install location: %s\n " , filepath .Join (site .GetArtifactsDir (), pkg .Source ().Directory ))
120
+ }
114
121
return nil
115
122
}
116
123
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ func (s *RizinSite) InstallPackage(pkg Package) error {
221
221
& minorVersion ,
222
222
})
223
223
installedFilePath := filepath .Join (s .Path , installedFile )
224
+ log .Printf ("Installed package %s at %s\n " , pkg .Name (), installedFilePath )
224
225
return updateInstalledPackages (installedFilePath , s .installedPackages )
225
226
}
226
227
You can’t perform that action at this time.
0 commit comments