OSDN Git Service
(root)
/
serene
/
BasixToXfce.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6fb9a36
)
ログファイルを出力するように変更
author
hayao
<shun819.mail@gmail.com>
Fri, 17 May 2019 04:03:40 +0000
(13:03 +0900)
committer
hayao
<shun819.mail@gmail.com>
Fri, 17 May 2019 04:03:40 +0000
(13:03 +0900)
WhiskerMenuを追加
BasixXfceScript.bash
patch
|
blob
|
history
diff --git
a/BasixXfceScript.bash
b/BasixXfceScript.bash
index
a94ae41
..
a63f0a2
100644
(file)
--- a/
BasixXfceScript.bash
+++ b/
BasixXfceScript.bash
@@
-1,5
+1,7
@@
#!/bin/bash
#!/bin/bash
+exec 1> >(tee -a basix-to-xfce.log)
+exec 2> >(tee -a basix-to-xfce.log)
#============================================================================================================
#Root判定
#============================================================================================================
#Root判定
@@
-29,6
+31,7
@@
case "$LogExport" in
[yY]*) LogExport=0;;
*) LogExport=1;;
esac
[yY]*) LogExport=0;;
*) LogExport=1;;
esac
+echo "ログファイルはスクリプトと同じ場所に「basix-to-xfce.log」として出力されます"
echo -e "\n"
#============================================================================================================
echo -e "\n"
#============================================================================================================
@@
-66,6
+69,14
@@
case "$InstallVirtualBox" in
*) InstallVirtualBox=1;;
esac
echo -e "\n"
*) 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
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
#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
#BodhiBuilder削除
if [[ $RemoveBodhiBuilder == 0 && -f /usr/bin/bodhibuilder ]]; then
apt-get -y purge bodhibuilder