25 lines
734 B
Bash
Executable file
25 lines
734 B
Bash
Executable file
#!/bin/sh
|
|
echo "* * * * * * * * * * * * * * * * * * "
|
|
echo "* To add a graphic environment * "
|
|
echo "* 1 For Openbox/jwm X11 1 * "
|
|
echo "* 2 For labwc wayland 2 * "
|
|
echo "* 3 For console no gfx 3 * "
|
|
echo "* enter 1 2 or 3 * "
|
|
echo "* * "
|
|
echo "* * * * * * * * * * * * * * * * * * "
|
|
read i
|
|
: "${i:=3}"
|
|
if [ $i -eq 1 ]
|
|
then
|
|
echo "openbox $i "
|
|
echo "enter to proceed with openbox/jwm installation"
|
|
/usr/local/bin/installX
|
|
elif [ $i -eq 2 ]
|
|
then
|
|
echo "labwc $i "
|
|
echo "enter to proceed with labwc installation"
|
|
/usr/local/bin/install.labwc
|
|
else
|
|
echo "remain on base console"
|
|
exit
|
|
fi
|