#!/usr/bin/env bash
if ! command_exists logrotate; then
task_begin "Installing logrotate";
queue_apt_install logrotate;
mkdir -p /etc/logrotate.d;
touch /etc/logrotate.d/misc;
task_end "$?" "Failed to configure installation of logrotate";
fi