Add MATE as desktop environment
This commit is contained in:
parent
d9879d3d55
commit
77dcbafc80
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
|
Loading…
Reference in New Issue
Block a user