added install script

This commit is contained in:
Daniel Fichtinger 2025-07-08 15:33:07 -04:00
parent ccc8634843
commit 0a2130c801
2 changed files with 21 additions and 1 deletions

View file

@ -9,4 +9,17 @@ confirmation. It requires `kakoune` since we use `kak -f` to perform the
replacement. replacement.
To use the script, simply provide a path to a `PKGBUILD` or its parent To use the script, simply provide a path to a `PKGBUILD` or its parent
directory as the argument. directory as the argument. If no argument is given, the current working
directory is used.
The following installation script is provided as a convenience. You can
copy this code into a POSIX shell to install `update-integrity`.
```sh
#!/bin/sh
script="https://git.sr.ht/~ficd/pkgbuild-update-integrity/blob/main/update-integrity"
curl "$script">update-integrity
chmod +x update-update-integrity
sudo cp -f update-integrity /usr/bin/update-integrity
```

7
install.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
script="https://git.sr.ht/~ficd/pkgbuild-update-integrity/blob/main/update-integrity"
curl "$script">update-integrity
chmod +x update-update-integrity
sudo cp -f update-integrity /usr/bin/update-integrity