1
0
mirror of https://github.com/byReqz/blackmate.git synced 2024-11-23 19:54:55 +00:00

Create blackmate.sh

This commit is contained in:
Anyon3 2016-07-14 22:40:15 +08:00 committed by GitHub
parent 6c173d037f
commit 191b0854bb

View File

@ -37,17 +37,12 @@ tar -zxf /usr/share/blackmate/blackarch.db.tar.gz -C /usr/share/blackmate/tmp
#Choice between xfce4 and Mate #Choice between xfce4 and Mate
printf "For which wm Blackmate shall generate the menu ?\n\n [1] Mate\n [2] Xfce4\n\n Answer : "; printf "For which wm Blackmate shall generate the menu ?\n\n [1] Mate\n [2] Xfce4\n\n Answer : ";
read n read n
if [[ $n == '2' ]]; then if [[ $n == '2' ]]; then
terminal=`echo xfce4-terminal`; terminal=`echo xfce4-terminal`;
else else
terminal=`echo mate-terminal`; terminal=`echo mate-terminal`;
fi fi
echo "[*] Generating the menu, please wait..."; echo "[*] Generating the menu, please wait...";
@ -129,7 +124,6 @@ for u in $( ls --color=auto /usr/share/blackmate/tmp/ | sort ); do
elif [[ $subc == 'sniffer' ]]; then elif [[ $subc == 'sniffer' ]]; then
namecat=`echo X-BlackArch-Sniffing;`; namecat=`echo X-BlackArch-Sniffing;`;
else else
namecat=`echo X-BlackArch-Misc;`; namecat=`echo X-BlackArch-Misc;`;