mirror of
https://github.com/mudler/luet.git
synced 2025-08-01 23:41:37 +00:00
Consider also category when building up the luet tree
This commit is contained in:
parent
a5e125de4b
commit
0307b1faad
@ -30,7 +30,7 @@ func (r *Recipe) Save(path string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
dir := filepath.Join(path, p.GetName(), p.GetVersion())
|
||||
dir := filepath.Join(path, p.GetCategory(), p.GetName(), p.GetVersion())
|
||||
os.MkdirAll(dir, os.ModePerm)
|
||||
data, err := p.Yaml()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user