aboutsummaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 00:19:34 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 00:19:34 +0300
commit50bd24d6d370ded5a5ddbc8c232539994eccd6ef (patch)
tree87c1e1cba4af2859ef81a8763170a440a7e8ab06 /community
parent506f33a4305d6eb4eb58d556968a3512fa83c379 (diff)
downloadrepository-50bd24d6d370ded5a5ddbc8c232539994eccd6ef.tar.gz
syncthing: use clinst, clman
Diffstat (limited to 'community')
-rwxr-xr-xcommunity/syncthing/build7
1 files changed, 3 insertions, 4 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index 51a2e6f5..1a4353f4 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -6,8 +6,7 @@ go mod vendor
go run build.go -no-upgrade -version "v$2" build
-install -Dm755 syncthing "$1/usr/bin/syncthing"
+clinst -Dm755 syncthing "$1/usr/bin/syncthing"
-for manpage in man/*.1 man/*.5 man/*.7; do
- install -Dm644 "$manpage" "$1/usr/share/man/man${manpage##*.}/${manpage##*/}"
-done
+# Install manual pages.
+clman -d "$1" man/*.[0-9]