This commit is contained in:
root 2017-06-02 22:26:26 +02:00
parent 90c3f4fd8c
commit 5b99dbfa46
2 changed files with 25 additions and 4 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
packages

View file

@ -1,12 +1,14 @@
#!/bin/bash
set -xe
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
set -x
apt update
apt upgrade
apt upgrade -y
apt install hedgewars minetest minetest-server teeworlds teeworlds-server mumble mumble-server freeciv gnome-chess gnuchess inkscape gimp ffmpeg flac vorbis-tools vorbisgain git htop android-tools-adb android-tools-fastboot qemu-system btrfs-tools nvidia-375 nvidia-settings -y
nvidia-xconfig
@ -28,6 +30,24 @@ apt-get install spotify-client -y
# dd bs=4M if=2017-03-02-raspbian-jessie.img of=/dev/sdd status=progress && sync
dpkg -i packages/*.deb
apt install -f
apt autoremove
echo "deb http://ftp.de.debian.org/debian/ jessie main contrib non-free" > /etc/apt/sources.list
# jessie-backports
echo "deb http://ftp.de.debian.org/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
# apt-get install -t jessie-backports linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
apt-get update
apt-get install -t jessie-backports nvidia-driver
mkdir -p /media/hdd
mkdir -p /home/simono41/Musik
mkdir -p /home/simono41/Bilder