From 61ffda5b5f157b31d66db4defa3040579cb22259 Mon Sep 17 00:00:00 2001 From: Rob Thomas Date: Wed, 10 Oct 2018 09:04:56 +1000 Subject: [PATCH] Add setup.sh, remove mathematica --- setup.sh | 15 +++++++++++++++ stage5/00-install-mathematica/00-debconf | 2 -- stage5/00-install-mathematica/00-packages | 1 - 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100755 setup.sh delete mode 100644 stage5/00-install-mathematica/00-debconf delete mode 100644 stage5/00-install-mathematica/00-packages diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000000..fdd6d14f7c --- /dev/null +++ b/setup.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +apt-get install quilt parted realpath qemu-user-static debootstrap zerofree pxz zip \ +dosfstools bsdtar libcap2-bin grep rsync xz-utils file git curl apache2 + +systemctl enable apache2 +systemctl start apache2 + +mkdir -p work + +if [ ! -h /var/www/html/pi ]; then + rm -f /var/www/html/pi + ln -s $(pwd)/work /var/www/html/pi +fi + diff --git a/stage5/00-install-mathematica/00-debconf b/stage5/00-install-mathematica/00-debconf deleted file mode 100644 index d9743fe9a0..0000000000 --- a/stage5/00-install-mathematica/00-debconf +++ /dev/null @@ -1,2 +0,0 @@ -# Do you accept the Wolfram - Raspberry PiĀ® Bundle License Agreement? -wolfram-engine shared/accepted-wolfram-eula boolean true diff --git a/stage5/00-install-mathematica/00-packages b/stage5/00-install-mathematica/00-packages deleted file mode 100644 index fa9ba94ccf..0000000000 --- a/stage5/00-install-mathematica/00-packages +++ /dev/null @@ -1 +0,0 @@ -wolfram-engine