arch-maride-flavour/flavours/mate.flavour/install.sh
2018-01-30 23:32:50 +01:00

16 lines
256 B
Bash
Executable File

#!/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