added install script
This commit is contained in:
parent
ccc8634843
commit
0a2130c801
2 changed files with 21 additions and 1 deletions
15
README.md
15
README.md
|
@ -9,4 +9,17 @@ confirmation. It requires `kakoune` since we use `kak -f` to perform the
|
|||
replacement.
|
||||
|
||||
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
7
install.sh
Executable 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue