From 50e22f2d3f8270c2a0ec5c9ba0e39fb2e2faf49b Mon Sep 17 00:00:00 2001 From: hayao Date: Fri, 17 May 2019 13:03:40 +0900 Subject: [PATCH] =?utf8?q?=E3=83=AD=E3=82=B0=E3=83=95=E3=82=A1=E3=82=A4?= =?utf8?q?=E3=83=AB=E3=82=92=E5=87=BA=E5=8A=9B=E3=81=99=E3=82=8B=E3=82=88?= =?utf8?q?=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4=20WhiskerMenu=E3=82=92?= =?utf8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- BasixXfceScript.bash | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/BasixXfceScript.bash b/BasixXfceScript.bash index a94ae41..a63f0a2 100644 --- a/BasixXfceScript.bash +++ b/BasixXfceScript.bash @@ -1,5 +1,7 @@ #!/bin/bash +exec 1> >(tee -a basix-to-xfce.log) +exec 2> >(tee -a basix-to-xfce.log) #============================================================================================================ #Root判定 @@ -29,6 +31,7 @@ case "$LogExport" in [yY]*) LogExport=0;; *) LogExport=1;; esac +echo "ログファイルはスクリプトと同じ場所に「basix-to-xfce.log」として出力されます" echo -e "\n" #============================================================================================================ @@ -66,6 +69,14 @@ case "$InstallVirtualBox" in *) InstallVirtualBox=1;; esac echo -e "\n" + +#WhiskerMenuをインストールするかどうか +read -n1 -p "WhiskerMenuをインストールしますか? (y/N)" InstallWhiskerMenu; +case "$InstallWhiskerMenu" in + [yY]*) InstallWhiskerMenu=0;; + *) InstallWhiskerMenu=1;; +esac +echo -e "\n" #============================================================================================================ @@ -107,11 +118,21 @@ if [[ $InstallVLC == 0 ]]; then apt-get -y install vlc fi +#VLCインストール +if [[ $InstallXfce4 == 0 ]]; then + apt-get -y installxfce4 +fi + #VirtualBoxインストール if [[ $InstallVirtualBox == 0 ]]; then apt-get -y install virtualbox fi +#WhiskerMenuをインストール +if [[ $InstallWhiskerMenu == 0]]; then + apt-get -y install xfce4-whiskermenu-plugin +fi + #BodhiBuilder削除 if [[ $RemoveBodhiBuilder == 0 && -f /usr/bin/bodhibuilder ]]; then apt-get -y purge bodhibuilder -- 2.11.0