Add MATE as desktop environment

This commit is contained in:
maride 2018-01-30 23:32:50 +01:00
parent d9879d3d55
commit 77dcbafc80

View File

@ -0,0 +1,16 @@
#!/bin/sh
echo "~> Installing mate"
pacstrap /mnt mate mate-extra
user=$(ls /mnt/home)
if [ "$user" == "" ]; then
path="/mnt/etc/skel/"
else
path="/mnt/home/$user/"
fi
echo "~> Creating .xinitrc"
echo "exec mate-session" > $path/.xinitrc
amf_return=0