From 745f047bed957c8dabbfaf0b73b04fd8aff6f20d Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 28 Nov 2019 13:27:09 +0100 Subject: Condition for zsh install --- joes-arch-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/joes-arch-install.sh b/joes-arch-install.sh index 3292180..50f40b6 100755 --- a/joes-arch-install.sh +++ b/joes-arch-install.sh @@ -448,7 +448,11 @@ jo_pacstrap base jo_pacstrap base-devel jo_pacstrap pacman-contrib jo_pacstrap networkmanager -jo_pacstrap zsh +if [ "$isusr" = true ]; then + if [ "$usrshell" = "zsh" ]; then + jo_pacstrap zsh + fi +fi jo_pacstrap os-prober if [ "$efimode" = true ]; then jo_pacstrap efibootmgr -- cgit v1.2.3