From 90f0a0ae1deb6b8a81ce486f3ac1c174a5d440bc Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Mon, 16 May 2022 08:42:00 +0200 Subject: [PATCH] simpler directory creation --- setup/system.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/setup/system.sh b/setup/system.sh index b2ee6f67..03b0d9df 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -251,17 +251,13 @@ EOF # Adjust apt update and upgrade timers such that they're always before daily status # checks and thus never report upgrades unless user intervention is necessary. -if [ ! -d /etc/systemd/system/apt-daily.timer.d ]; then - mkdir /etc/systemd/system/apt-daily.timer.d -fi +mkdir -p /etc/systemd/system/apt-daily.timer.d cat > /etc/systemd/system/apt-daily.timer.d/override.conf < /etc/systemd/system/apt-daily-upgrade.timer.d/override.conf <