mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-06 15:20:36 +00:00
6251fae396
* start FreeBSD support * permissions change * improve command to fetch permissions. * note we use 'shasum' and not 'sha256sum' on osx and freebsd
18 lines
289 B
Bash
Executable File
18 lines
289 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
PREFIX="$1"
|
|
if [ -z "$PREFIX" ]; then
|
|
echo "usage: $0 <prefix>" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Binary:
|
|
rm -f "$PREFIX"/bin/git-secret
|
|
|
|
# Manuals:
|
|
find "$PREFIX"/share/man/man1 -type f -name "git-secret-*.1" -exec rm -f {} \;
|
|
rm -f "$PREFIX"/share/man/man7/git-secret.7
|