archlinux: create user with the zsh shell to avoid an archlinux bash bug
This commit is contained in:
parent
79bf681509
commit
19fdc8854b
@ -6,7 +6,7 @@
|
||||
# Maintainer: Olivier Medoc <o_medoc@yahoo.fr>
|
||||
pkgname=qubes-vm-core
|
||||
pkgver=`cat version`
|
||||
pkgrel=11
|
||||
pkgrel=12
|
||||
epoch=
|
||||
pkgdesc="The Qubes core files for installation inside a Qubes VM."
|
||||
arch=("x86_64")
|
||||
|
@ -160,7 +160,9 @@ pre_install() {
|
||||
# mv /etc/fstab /var/lib/qubes/fstab.orig
|
||||
#fi
|
||||
|
||||
useradd --create-home user
|
||||
# Archlinux bash version has a 'bug' when running su -c, /etc/profile is not loaded because bash consider there is no interactive pty when running 'su - user -c' or something like this.
|
||||
# See https://bugs.archlinux.org/task/31831
|
||||
useradd --shell /bin/zsh --create-home user
|
||||
}
|
||||
|
||||
## arg 1: the new package version
|
||||
|
Loading…
Reference in New Issue
Block a user