Reviewed-on: #4 Closes #3
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
arch-needs-restart.sh
executablechmod +x <repo>/arch-needs-restart.sh
- Symlink to files, for example
Note that while you may choose arbitrary locations for symlinkssudo ln -s <repo>/arch-needs-restart.sh /usr/local/bin/arch-needs-restart sudo ln -s <repo>/arch-needs-restart.hook /usr/share/libalpm/hooks/arch-needs-restart.hook
arch-needs-restart.hook
references/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%