Skip to content

Commit

Permalink
install software-properties-common in order to use apt-add-repository.
Browse files Browse the repository at this point in the history
…resolves dnschneid#2520
  • Loading branch information
zxvv committed Apr 15, 2016
1 parent 9f9eb6d commit b3e805c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions targets/mate
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2016 The crouton Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
DESCRIPTION='Installs the mate desktop environment. (Approx. 150MB)'
DESCRIPTION='Installs the mate desktop environment. (Approx. 205MB)'
HOSTBIN='startmate'
CHROOTBIN='crouton-noroot startmate'
. "${TARGETSDIR:="$PWD"}/common"
Expand All @@ -18,9 +18,10 @@ if release -le precise ; then
fi

if release -eq trusty && [ "$ARCH" = 'amd64' -o "$ARCH" = 'i386' ]; then
sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
sudo apt-get update && sudo apt-get upgrade
install software-properties-common
sudo apt-add-repository -y ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository -y ppa:ubuntu-mate-dev/trusty-mate
sudo apt-get update
fi

install mate-desktop-environment
Expand Down

0 comments on commit b3e805c

Please sign in to comment.