96d61f3d |
1 | #! /usr/bin/env bash |
2 | |
3 | # Copyright (C) 2016 Daniel Watson |
4 | # See the end of the file for license conditions. |
5 | # GNU AGPLv3 (or later at your option) |
6 | # https://challenge-bot.com/ |
7 | |
8 | set -o nounset |
9 | set -o errexit |
10 | |
11 | sudo -- sh -c " |
12 | set -o nounset |
13 | set -o errexit |
14 | |
15 | apt-get update && \ |
16 | apt-get install -f && \ |
17 | apt-get -y upgrade && \ |
18 | apt-get -y dist-upgrade && \ |
19 | apt-get -y autoremove |
20 | " |
21 | |
22 | # Challenge-bot is free software: you can redistribute it and/or modify |
23 | # it under the terms of the GNU Affero General Public License as published by |
24 | # the Free Software Foundation, either version 3 of the License, or |
25 | # (at your option) any later version. |
26 | |
27 | # GNU Affero Emacs is distributed in the hope that it will be useful, |
28 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
29 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
30 | # GNU Affero General Public License for more details. |
31 | |
32 | # You should have received a copy of the GNU Affero General Public License |
33 | # along with challenge-bot. If not, see <http://www.gnu.org/licenses/>. |