mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
Fix issues
This commit is contained in:
parent
8074179112
commit
0adda5da4f
|
@ -1103,7 +1103,7 @@ func buildInstallPkgbuilds(
|
|||
}
|
||||
|
||||
if errMake := show(passToMakepkg(dir, args...)); errMake != nil {
|
||||
return errors.New(gotext.Get("error making: %s", base.String))
|
||||
return errors.New(gotext.Get("error making: %s", base.String()))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -70,6 +70,8 @@ func (config *Configuration) SaveConfig(configPath string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// https://github.com/Jguer/yay/issues/1325
|
||||
marshalledinfo = append(marshalledinfo, '\n')
|
||||
in, err := os.OpenFile(configPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0o644)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue