2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-04 14:05:50 -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
make DESTDIR="$1" install make DESTDIR="$1" install
install -m 755 contrib/ssh-copy-id "$1/usr/bin/ssh-copy-id" cp -f contrib/ssh-copy-id "$1/usr/bin"
install -m 644 contrib/ssh-copy-id.1 "$1/usr/share/man/man8/ssh-copy-id.1" cp -f contrib/ssh-copy-id.1 "$1/usr/share/man/man1"
# Install runit services. # Install runit services.
install -Dm 755 sshd.run "$1/etc/sv/sshd/run" mkdir -p "$1/etc/sv/sshd"
ln -s /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise" cp -f sshd.run "$1/etc/sv/sshd/run"
ln -sf /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise"