From bb20a4a49d9b0c43ea2e3b12b645cae08d139b29 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 5 Oct 2023 05:22:03 +0200 Subject: [PATCH] committing changes in /etc made by "apt install nala -y" Packages with configuration changes: +nala 0.12.2 all Package changes: +nala 0.12.2 all +python3-anyio 3.6.2-1 all +python3-click 8.1.3-2 all +python3-colorama 0.4.6-2 all +python3-h11 0.14.0-1 all +python3-httpcore 0.16.3-1 all +python3-httpx 0.23.3-1 all +python3-markdown-it 2.1.0-5 all +python3-mdurl 0.1.2-1 all +python3-rfc3986 1.5.0-2 all +python3-rich 13.3.1-1 all +python3-sniffio 1.2.0-1 all +python3-tomli 2.0.1-2 all +python3-typer 0.7.0-1 all +python3-typing-extensions 4.4.0-1 all --- .etckeeper | 3 +++ nala/nala.conf | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 nala/nala.conf diff --git a/.etckeeper b/.etckeeper index c530d1c..f797546 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1089,6 +1089,7 @@ maybe chmod 0644 'logcheck/violations.d/mdadm' maybe chmod 0644 'login.defs' maybe chmod 0644 'logrotate.conf' maybe chmod 0755 'logrotate.d' +maybe chmod 0755 'logrotate.d/.old' maybe chmod 0644 'logrotate.d/alternatives' maybe chmod 0644 'logrotate.d/apt' maybe chmod 0644 'logrotate.d/aptitude' @@ -1243,6 +1244,8 @@ maybe chmod 0644 'nagios-plugins/config/ssh.cfg' maybe chmod 0644 'nagios-plugins/config/tcp_udp.cfg' maybe chmod 0644 'nagios-plugins/config/telnet.cfg' maybe chmod 0644 'nagios-plugins/config/users.cfg' +maybe chmod 0755 'nala' +maybe chmod 0644 'nala/nala.conf' maybe chmod 0644 'nanorc' maybe chmod 0755 'needrestart' maybe chmod 0755 'needrestart/conf.d' diff --git a/nala/nala.conf b/nala/nala.conf new file mode 100644 index 0000000..0a2fd64 --- /dev/null +++ b/nala/nala.conf @@ -0,0 +1,65 @@ +## Configuration file for Nala +[Nala] +# Set to false to disable scrolling text +scrolling_text = true + +# Set to true for a more condensed transaction summary +simple_summary = false + +# Set to false to disable auto auto-removing +auto_remove = true + +# Set to false to disable auto updating the package list +# when running the upgrade command +auto_update = true + +# Set to true Nala will list the upgradable packages automatically after `update` +update_show_packages = false + +# Set to true and Nala will always assume yes +assume_yes = false + +# Set to true for `MiB` false for `MB` +filesize_binary = false + +# Set to true for `MegaBit` false for `MegaByte` +transfer_speed_bits = false + +## Pre and Post install hooks allow you to run scripts or commands +## Before or After an install, upgrade and remove +[PreInstall] +## The `hook` key will run after every transaction +# hook = "/general/hook/pre-install.sh" + +## You can use a package name to run a specific hook +## Only if that package has been altered +# nala = "apt show nala" + +## Additionally you can use a wildcard* +# "linux-image-5*-amd64" = "/hook/for/pre-kernel.sh" + +[PostInstall] +# hook = "/general/hook/post-install.sh" +# nala = "apt show nala" +# "linux-image-5*-amd64" = "/hook/for/post-kernel.sh" + +## You can also setup Nala to pass arguments to your hook. +## It can be done inline style like so +# neofetch = { hook = "/home/username/neo-hook.sh", args = ["name", "version"] } + +## You can also use the longer form +# [PostInstall.neofetch] +# hook = "/home/volitank/neo-hook.sh" + +## Arguments are given to the hook in the order they exist in the array below +# args = [ +# "name", # The name of the package. Arch is appended for non-native arches +# "fullname", # Full name of the package "neofetch:amd64" +# "architecture", # This will be the arch of the candidate version or "None" +# "version", # This will be the version string of the candidate version or "None" + +## To pick information from a specific version you can use the following syntax +# "candidate.version", # Version string of the candidate version or "None" +# "installed.version", # Version string of the installed version or "None" +# "installed.architecture", # Arch of the installed version or "None" +# ] -- 2.39.5