profile.d/README.md
Doncho N. Gunchev 45d926a3a9
Some checks failed
Makefile CI / build (push) Has been cancelled
New shebang for changelog.sh, post-commit hook in README.md.
2024-05-30 04:03:42 +03:00

18 lines
452 B
Markdown

# /etc/profile.d files collection
This is a collection of /etc/profile.d files used by the gwebu team.
Unless explicitly stated in the file itself, the license is [The Unlicense](https://choosealicense.com/licenses/unlicense/).
## Hooks
Create the following hook in your local repository to update the RPM changelog for you:
```bash
echo '#!/usr/bin/env bash
set -eu
./changelog.sh' > .git/hooks/post-commit
chmod a+x .git/hooks/post-commit
```