deb-update.bash: sleep a bit after needrestart

This commit is contained in:
Aminda Suomalainen 2024-05-05 11:21:30 +03:00
parent 75ce46e896
commit 3d145616d2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -111,6 +111,9 @@ if hash needrestart 2>/dev/null; then
# needrestart batch mode, should be visible on bottom of scrollback
# see https://github.com/liske/needrestart/blob/master/README.batch.md
needrestart -b
# Give me a moment to see what needrestart says even if I pipe or enter
# multiple commands at once!
sleep 5
fi
# Sedric workaround, located in this repo. I trust /root/