Update to newest pkglib
This commit is contained in:
parent
1bdcb6e3b4
commit
7ff2ecf7fe
11 changed files with 95 additions and 41 deletions
|
|
@ -120,7 +120,11 @@ func (bs cBootstrap) Run(context wisski_distillery.Context) error {
|
|||
}
|
||||
|
||||
{
|
||||
if !fsx.IsRegular(cfgPath) {
|
||||
isFile, err := fsx.IsRegular(cfgPath, false)
|
||||
if err != nil {
|
||||
return errBootstrapWriteConfig.Wrap(err)
|
||||
}
|
||||
if !isFile {
|
||||
// generate the configuration from the template
|
||||
cfg := tpl.Generate()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue