%PDF- %PDF-
Direktori : /etc/nala/ |
Current File : //etc/nala/nala.conf |
## Configuration file for Nala [Nala] # Set to false to disable scrolling text scrolling_text = true # 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_bit = 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" # ]