Skip to content

Commit

Permalink
remove --force-depends flag from dpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip Miller committed Dec 30, 2021
1 parent aba69d4 commit 5f5bc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func InstallExtraPackages(osType string, dirs *localio.Directories, packages *lo
return err
}
fmt.Println("[+] Installing git-delta latest release")
if err = localio.RunCommandPipeOutput(fmt.Sprintf("sudo dpkg --no-pager --force-depends -i %s", debPackage)); err != nil {
if err = localio.RunCommandPipeOutput(fmt.Sprintf("sudo dpkg --no-pager -i %s", debPackage)); err != nil {
return err
}
if err = localio.RunCommandPipeOutput("sudo apt-get -y -q install -f"); err != nil {
Expand Down

0 comments on commit 5f5bc58

Please sign in to comment.