diff --git a/github/install.go b/github/install.go index 034ed81..b5c662f 100644 --- a/github/install.go +++ b/github/install.go @@ -224,11 +224,7 @@ func installVersion(mod Mod, version ModReleases, pack core.Pack) error { if folder == "" { folder = "mods" } - if mod.Slug != "" { - path = modMeta.SetMetaPath(filepath.Join(viper.GetString("meta-folder-base"), folder, mod.Slug+core.MetaExtension)) - } else { - path = modMeta.SetMetaPath(filepath.Join(viper.GetString("meta-folder-base"), folder, mod.Title+core.MetaExtension)) - } + path = modMeta.SetMetaPath(filepath.Join(viper.GetString("meta-folder-base"), folder, mod.Title+core.MetaExtension)) // If the file already exists, this will overwrite it!!! // TODO: Should this be improved?