849bb66b5596e6f0414f00ce3e6a7925febc9134
arch-needs-restart
A helper script to check which updated libraries and kernel are in use and require a restart
Setup
Get started like so:
- Clone repo into arbitrary path
<repo> - Make
needs-restart.shexecutablechmod +x <repo>/needs-restart.sh - Symlink to files, for example
Note that while you may choose arbitrary locations for symlinks
sudo ln -s <repo>/needs-restart.sh /usr/local/bin/arch-needs-restart sudo ln -s <repo>/arch-needs-restart.hook /usr/share/libalpm/hooks/arch-needs-restart.hookarch-needs-restart.hookreferences/usr/local/bin/arch-needs-restart. Change that accordingly if you need to.
Credits
StackExchange user Christian Zangl aka laktak in January 2021 post unix.stackexchange.com/a/630982
Description
A helper script to check which updated libraries and kernel are in use and require a restart
Languages
Shell
100%