2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

openssh: remove usage of install

This commit is contained in:
Dylan Araps 2021-07-01 16:34:46 +00:00
parent 35437dcab4
commit 5be16f8ece
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -19,9 +19,10 @@
make
make DESTDIR="$1" install
install -m 755 contrib/ssh-copy-id "$1/usr/bin/ssh-copy-id"
install -m 644 contrib/ssh-copy-id.1 "$1/usr/share/man/man8/ssh-copy-id.1"
cp -f contrib/ssh-copy-id "$1/usr/bin"
cp -f contrib/ssh-copy-id.1 "$1/usr/share/man/man1"
# Install runit services.
install -Dm 755 sshd.run "$1/etc/sv/sshd/run"
ln -s /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise"
mkdir -p "$1/etc/sv/sshd"
cp -f sshd.run "$1/etc/sv/sshd/run"
ln -sf /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise"