Add MATE as desktop environment
This commit is contained in:
16
flavours/mate.flavour/install.sh
Executable file
16
flavours/mate.flavour/install.sh
Executable 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
|
||||||
Reference in New Issue
Block a user