deb-update.bash: pkcon install anyway since I keep seeing the prompt on Plasma

This commit is contained in:
Aminda Suomalainen 2024-07-22 07:22:59 +03:00
parent 7a3962d121
commit b5dde1075e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 3 additions and 4 deletions

View File

@ -97,10 +97,9 @@ fi
# ./deb-update.bash && poweroff
if hash pkcon 2> /dev/null; then
# So PackageKit using KDE Plasma and possibly GNOME stop alerting about
# already installed updates. It has backends for all other package managers,
# so it needs to be after them.
pkcon refresh force
# KDE Plasma uses PackageKit for the update indicator
pkcon refresh --noninteractive --plain --verbose
pkcon update --noninteractive --plain --verbose
fi
if hash apt-file 2> /dev/null; then