From ea49d6d0822df4b0601594703ca180e2c641a2ac Mon Sep 17 00:00:00 2001 From: Suikan <26223147+suikan4github@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:53:29 +0900 Subject: [PATCH] Fix bug of the additional package install --- script/void-kaiten-yaki.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/script/void-kaiten-yaki.sh b/script/void-kaiten-yaki.sh index b56abc4..4d3cb14 100644 --- a/script/void-kaiten-yaki.sh +++ b/script/void-kaiten-yaki.sh @@ -51,6 +51,14 @@ source _confirmation.sh # Pre-install stage # ******************************************************************************* +# Install essential packages. +# If GUI environment, also install xterm to run the void-installer in a window +if [ ${GUIENV} -eq 1 ] ; then + xbps-install -y -Su xbps gptfdisk xterm +else + xbps-install -y -Su xbps gptfdisk +fi + # Common part of the pre-install stage source _preinstall.sh