root-enter: upgrade to 2.0.0
This commit is contained in:
parent
87a825d85f
commit
c170086345
2 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
pkgname=root-enter
|
pkgname=root-enter
|
||||||
pkgver=1.0.0
|
pkgver=2.0.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="enter chroot with mounts"
|
pkgdesc="enter chroot with mounts"
|
||||||
url="https://git.ddd.rip/ptrcnull/ptrcports"
|
url="https://git.ddd.rip/ptrcnull/ptrcports"
|
||||||
|
@ -15,5 +15,5 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
f64c60c1937f4ac6145b3fc00dc9dce8205328009e60219282e8cba5837aff63674d4b3bef2fb751323e21720ab9ff251356817b0c2734ef2ebe315162e6caf8 enter
|
2d1985ff9658fb74f8fe9f8fe22031c5ef29b183920b8f6c4c80e04d671e6744ad1009016fb8bfcac49e74e3774983f7b2319e502d50af38938105c3ee937896 enter
|
||||||
"
|
"
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
[ "$unshared" = 1 ] || exec doas env unshared=1 unshare -m $0 $@
|
[ "$(id -u)" = 0 ] || DOAS="${DOAS:-doas}"
|
||||||
|
[ "$unshared" = 1 ] || exec $DOAS env unshared=1 unshare -m $0 $@
|
||||||
|
|
||||||
bindpoints="/etc/resolv.conf"
|
bindpoints="/etc/resolv.conf"
|
||||||
user="patrycja"
|
user="patrycja"
|
||||||
|
|
Loading…
Reference in a new issue