Skip to content

Instantly share code, notes, and snippets.

@amercier
Last active December 31, 2015 20:09
Show Gist options
  • Save amercier/8038462 to your computer and use it in GitHub Desktop.
Save amercier/8038462 to your computer and use it in GitHub Desktop.
#! /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