Fix the dumb

This commit is contained in:
ferrreo 2023-06-05 20:13:53 +01:00
parent 98f41ec031
commit cf44a51cf3
4 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@
pikman [global options] command [command options] [arguments...]
## VERSION:
v1.23.6.5.1
v1.23.6.5.2
## COMMANDS:

View File

@ -97,16 +97,9 @@ func (c *Command) getCommand() (string, error) {
}
func (c *Command) runUpgrades() error {
var err error
if c.OsType == types.Ubuntu {
err = updates.GetUbuntuUpdates(c.IsJSON)
if err != nil {
return err
}
return updates.GetUbuntuUpdates(c.IsJSON)
}
err = updates.GetFlatpakUpdates(c.IsJSON)
return err
return updates.GetFlatpakUpdates(c.IsJSON)
}

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
pikman (1.23.6.5.2-99pika2.lunar) lunar; urgency=low
* Nala -> apt until nala-rs is out
* Fix bug in upgrades
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 10 Dec 2022 13:48:00 +0300
pikman (1.23.6.5.1-99pika2.lunar) lunar; urgency=low
* Add upgrades with --json flag

View File

@ -33,7 +33,7 @@ func main() {
app := &cli.App{
Name: "pikman",
Usage: "One package manager to rule them all",
Version: "v1.23.6.5.1",
Version: "v1.23.6.5.2",
EnableBashCompletion: true,
Flags: []cli.Flag{
&cli.BoolFlag{