From 3a26251f0caedeb0a16a7c8db6950c424144b314 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 7 Sep 2022 20:13:07 +0300 Subject: [PATCH] deb-update.bash: add dpkg configuration just in case --- bash/deb-update.bash | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 33ce9b6..fc1689a 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -29,6 +29,11 @@ if hash apt-get 2>/dev/null; then apt-get "$@" autoremove fi +if hash dpkg 2>/dev/null; then + # In case dpkg was interrupted previously, configure packages. + dpkg --configure -a +fi + # Enables Fedora third party repositories if not enabled, otherwise quiet. # My systems most likely have them already if hash fedora-third-party 2>/dev/null; then