deb-update.bash: move comment to section it applies to

This commit is contained in:
Aminda Suomalainen 2023-01-15 14:47:41 +02:00
parent 5d9780f85c
commit c2c1862dfc
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -81,6 +81,8 @@ if hash snap 2>/dev/null; then
# if they have auto-refreshed # if they have auto-refreshed
snap changes snap changes
fi fi
# I don't have flatpak or snap going to background, because I often do
# ./deb-update.bash && poweroff
if hash pkcon 2>/dev/null; then if hash pkcon 2>/dev/null; then
# So PackageKit using KDE Plasma and possibly GNOME stop alerting about # So PackageKit using KDE Plasma and possibly GNOME stop alerting about
@ -94,9 +96,6 @@ if hash apt-file 2>/dev/null; then
apt-file update apt-file update
fi fi
# I don't have flatpak or snap going to background, because I often do
# ./deb-update.bash && poweroff
if hash needrestart 2>/dev/null; then if hash needrestart 2>/dev/null; then
# needrestart batch mode, should be visible on bottom of scrollback # needrestart batch mode, should be visible on bottom of scrollback
# see https://github.com/liske/needrestart/blob/master/README.batch.md # see https://github.com/liske/needrestart/blob/master/README.batch.md