From 4fcc882ff135ab96c478827f6806f9493c0a405a Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Sat, 3 Oct 2020 11:37:07 +0200 Subject: [PATCH] config/shell: Add aptinstall function that can ignore dependencies --- .config/shell/functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/shell/functions b/.config/shell/functions index 216515f..374e63f 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -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 ))