summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-06-29 20:17:23 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-06-29 20:17:23 (EDT)
commite711c1c83e31e7fc592962372387cfbe9364704c (patch)
tree1685fc9492b6383ca094341292e02e31f4f41837
parent071e4b3f1773e89cff7b9a149fb319f89114c472 (diff)
downloadpc-inst-e711c1c83e31e7fc592962372387cfbe9364704c.zip
pc-inst-e711c1c83e31e7fc592962372387cfbe9364704c.tar.gz
pc-inst-e711c1c83e31e7fc592962372387cfbe9364704c.tar.bz2
logi1: Install backported minetest and mods from buster
-rw-r--r--hosts/logi1/conf4
-rw-r--r--hosts/logi1/pkgs1
-rw-r--r--hosts/logi1/postinst6
3 files changed, 10 insertions, 1 deletions
diff --git a/hosts/logi1/conf b/hosts/logi1/conf
index f3fff0d..982fe35 100644
--- a/hosts/logi1/conf
+++ b/hosts/logi1/conf
@@ -46,6 +46,10 @@ apt_preferences='
Package: ddcutil
Pin: release n=buster
Pin-Priority: 500
+
+ Package: minetest-mod-*
+ Pin: release n=buster
+ Pin-Priority: 990
'
locale='en_US'
diff --git a/hosts/logi1/pkgs b/hosts/logi1/pkgs
index 2a4708a..669905a 100644
--- a/hosts/logi1/pkgs
+++ b/hosts/logi1/pkgs
@@ -344,7 +344,6 @@
freedink
freedoom
micropolis
- minetest
openttd
prboom-plus
pychess
diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst
index 484f8b7..e8ac45e 100644
--- a/hosts/logi1/postinst
+++ b/hosts/logi1/postinst
@@ -79,6 +79,12 @@ in_target apt-get -q -y -t stretch-backports install debhelper || return 1
in_target apt-get -q -y --no-install-recommends install diffoscope \
jsbeautifier trydiffoscope
+# Install backported minetest and mods from buster.
+in_target apt-get -q -y -t stretch-backports install minetest || return 1
+in_target apt-get -q -y install minetest-mod-craftguide minetest-mod-homedecor \
+ minetest-mod-mesecons minetest-mod-moreblocks minetest-mod-moreores \
+ minetest-mod-pipeworks || return 1
+
# Set default x-www-browser.
in_target update-alternatives --set x-www-browser /usr/bin/midori