diff --git a/any/cs-dev-sshkeys/.gitignore b/any/cs-dev-sshkeys/.gitignore new file mode 100644 index 0000000..a7fbd40 --- /dev/null +++ b/any/cs-dev-sshkeys/.gitignore @@ -0,0 +1,6 @@ +* +!*.sh +!*.install +!.gitignore +!Makefile +!PKGBUILD \ No newline at end of file diff --git a/any/cs-dev-sshkeys/PKGBUILD b/any/cs-dev-sshkeys/PKGBUILD new file mode 100644 index 0000000..5da2c84 --- /dev/null +++ b/any/cs-dev-sshkeys/PKGBUILD @@ -0,0 +1,11 @@ +# Maintainer: Markus Pesch + +pkgname=cs-dev-sshkeys +pkgver=0.1.0 +pkgrel=1 +pkgdesc='Register the development ssh keys in /root/.ssh/authorized_keys' +arch=('any') +url=https://git.cryptic.systems/volker.raschek/PKGBUILDs/any/cs-dev-sshkys +license=('Apache 2.0') +depends=('openssh') +install=${pkgname}.install \ No newline at end of file diff --git a/any/cs-dev-sshkeys/cs-dev-sshkeys.install b/any/cs-dev-sshkeys/cs-dev-sshkeys.install new file mode 100644 index 0000000..fa1b333 --- /dev/null +++ b/any/cs-dev-sshkeys/cs-dev-sshkeys.install @@ -0,0 +1,25 @@ +post_install(){ + cat >> root/.ssh/authorized_keys <> root/.ssh/authorized_keys <