config/shell: Add aptinstall function that can ignore dependencies

This commit is contained in:
xerus2000 2020-10-03 11:37:07 +02:00
parent d5ced0a97d
commit 4fcc882ff1
1 changed files with 4 additions and 0 deletions

View File

@ -359,6 +359,10 @@ aptinstalls() {
apt-cache show "$1" | grep --color=never '\(Version\|Description\):'
aptinstall "$@"
}
aptinstalli() {
apt download $1
sudo dpkg --ignore-depends=$2 -i $1*.deb
}
aptrepoinstall() {
aptrepo -yu $1
if (( $# > 1 ))