dotfiles/bash/.bash_functions

4 lines
87 B
Bash

function debinstall() {
sudo dpkg -i $1 || (sudo apt install -f && sudo dpkg -i $1)
}