summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-11-12 11:10:22 +0100
committerdennis <dennis@mrslave>2019-11-12 11:10:22 +0100
commit1595ca5e793c9894a5f79062980a55a2e0253892 (patch)
tree49968f9935c900a318a63e04affba175d0dbcce5 /mkosi.postinst
parentadding unattended-upgrades (diff)
downloadmkosi-sonarr-1595ca5e793c9894a5f79062980a55a2e0253892.tar.gz
fuck ubuntus motd
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst6
1 files changed, 5 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 62bf4ea..1ed3057 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -1,9 +1,13 @@
#!/bin/sh
set -ex
-
export DEBIAN_FRONTEND=noninteractive
export XDG_CONFIG_HOME="/config/xdg"
+# motd
+chmod 644 /etc/update-motd.d/*
+systemctl mask motd-news.service
+systemctl mask motd-news.timer
+
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493
echo "deb http://apt.sonarr.tv/ master main" > /etc/apt/sources.list.d/sonarr.list