mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix ownership
This commit is contained in:
parent
0490828256
commit
6d34ec718c
@ -2,7 +2,7 @@
|
|||||||
_pkgname=ssh-key-yoda
|
_pkgname=ssh-key-yoda
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.1
|
pkgver=0.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="ssh authorized_keys for user yoda"
|
pkgdesc="ssh authorized_keys for user yoda"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -18,6 +18,6 @@ sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsu
|
|||||||
package() {
|
package() {
|
||||||
cd "${_reponame}/pkg/${pkgname}"
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
install -dm0700 "$pkgdir"/home/yoda/.ssh/
|
install -dm0700 -o1000 "$pkgdir"/home/yoda/.ssh/
|
||||||
install -m0600 authorized_keys "$pkgdir"/home/yoda/.ssh/authorized_keys
|
install -m0600 -o1000 authorized_keys "$pkgdir"/home/yoda/.ssh/authorized_keys
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user