attempt to fix chroot software installations
This commit is contained in:
parent
67bfd97863
commit
bba8e876c5
1 changed files with 1 additions and 4 deletions
|
@ -10,10 +10,7 @@ apk_install(){
|
||||||
|
|
||||||
bwroot_apk_install(){
|
bwroot_apk_install(){
|
||||||
echo "installing $1 on chroot"
|
echo "installing $1 on chroot"
|
||||||
|
su - "$user" -c "zsh -lc 'bwroot /sbin/apk add \"$1\" >/dev/null 2>&1'"
|
||||||
su - "$user" -c sh <<EOF
|
|
||||||
zsh -lc "bwroot apk add '$1' >/dev/null 2>&1"
|
|
||||||
EOF
|
|
||||||
}
|
}
|
||||||
|
|
||||||
git_install(){
|
git_install(){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue