summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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