Last active
December 31, 2015 20:09
-
-
Save amercier/8038462 to your computer and use it in GitHub Desktop.
bash <(curl -# -L https://gist.github.com/amercier/8038462/raw)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
if [ "`whoami`" != "root" ]; then | |
echo "You must execute this script as root" >&2 | |
exit 1 | |
fi | |
echo ".-------------------." | |
echo "| Mate installation |" | |
echo "'-------------------'" | |
echo "deb http://repo.mate-desktop.org/debian wheezy main" > /etc/apt/sources.list.d/mate-desktop.list \ | |
&& apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A10B4DE8 \ | |
&& apt-get update \ | |
&& apt-get install mate-desktop-environment-extra lightdm \ | |
&& echo ".-----------------------------." \ | |
&& echo "| Mate installed successfully |" \ | |
&& echo "'-----------------------------'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment