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...] pikman [global options] command [command options] [arguments...]
## VERSION: ## VERSION:
v1.23.6.5.1 v1.23.6.5.2
## COMMANDS: ## COMMANDS:

View File

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

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 pikman (1.23.6.5.1-99pika2.lunar) lunar; urgency=low
* Add upgrades with --json flag * Add upgrades with --json flag

View File

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