diff options
author | Mantas Mikulėnas | 2016-11-02 19:30:05 +0200 |
---|---|---|
committer | Mantas Mikulėnas | 2016-11-02 19:30:05 +0200 |
commit | 6bbbb53853edfa2fa7617f1b6b3ceb723c973bcb (patch) | |
tree | 2fd86d687b6c2996c44fa4b13e6be47773380343 | |
parent | 8c224c9d2b5d43d431608cc597c1b106ef58a3d3 (diff) | |
download | aur-6bbbb53853edfa2fa7617f1b6b3ceb723c973bcb.tar.gz |
avoid manpage conflicts with openssh
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -42,6 +42,13 @@ package() { mv "$pkgdir"/usr/bin/sshd "$pkgdir"/usr/bin/ssh.d/sshd mv "$pkgdir"/usr/doc/gsi_openssh "$pkgdir"/usr/share/doc/ + # handle duplicates which already exist under ssh.d/ + for f in "$pkgdir"/usr/share/man/man*/*; do + if [[ -e ${f%/*}/ssh.d/${f##*/} ]]; then + mv "$f" "$f"globus + fi + done + cd "$srcdir" install -Dm 644 globus.sysusers "$pkgdir"/usr/lib/sysusers.d/globus.conf } |