docs(script): Fix script name

This commit is contained in:
hygienic-books 2023-03-19 21:37:03 +01:00
parent 849bb66b55
commit 535fab533c

View File

@ -7,13 +7,13 @@ A helper script to check which updated libraries and kernel are in use and requi
Get started like so: Get started like so:
1. Clone repo into arbitrary path `<repo>` 1. Clone repo into arbitrary path `<repo>`
1. Make `needs-restart.sh` executable 1. Make `arch-needs-restart.sh` executable
``` ```
chmod +x <repo>/needs-restart.sh chmod +x <repo>/arch-needs-restart.sh
``` ```
1. Symlink to files, for example 1. Symlink to files, for example
``` ```
sudo ln -s <repo>/needs-restart.sh /usr/local/bin/arch-needs-restart sudo 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 sudo ln -s <repo>/arch-needs-restart.hook /usr/share/libalpm/hooks/arch-needs-restart.hook
``` ```
Note that while you may choose arbitrary locations for symlinks `arch-needs-restart.hook` references `/usr/local/bin/arch-needs-restart`. Change that accordingly if you need to. Note that while you may choose arbitrary locations for symlinks `arch-needs-restart.hook` references `/usr/local/bin/arch-needs-restart`. Change that accordingly if you need to.