fix: replace sed with vgrep (#238)

sink-enhance
crumb 2023-02-18 17:02:52 -07:00 committed by GitHub
parent 26c8f28034
commit 4e37e8ca47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# 🎀 Changelog
## Unreleased
### Fixed
- Replaced `sed` in-place editing with `grep` and `mv` for compatibility with BSD utils
## [2.1.0] - 2022-02-10
### Added
- Documented custom userdata types (Job and Timer Objects)

View File

@ -34,4 +34,4 @@ tasks:
- rm -vrf
"{{.DESTDIR}}{{.BINDIR}}/hilbish"
"{{.DESTDIR}}{{.LIBDIR}}"
- sed -i '/hilbish/d' /etc/shells
- grep -v 'hilbish' /etc/shells > /tmp/shells.hilbish_uninstall && mv /tmp/shells.hilbish_uninstall /etc/shells