Added noninteractive mode for sddm install
This commit is contained in:
parent
c99264b632
commit
999edd4e2e
1 changed files with 4 additions and 1 deletions
|
@ -15,11 +15,14 @@
|
|||
{{- $additionalPackages := splitList " " (includeTemplate (joinPath .host.distro.id "common-dependencies") .) -}}
|
||||
{{- $packages = concat $packages $additionalPackages -}}
|
||||
|
||||
# @description Ensure Ubuntu / Debian run in `noninteractive` mode
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
if [ '{{ .host.distro.id }}' = 'archlinux' ]; then
|
||||
### Print dependency list
|
||||
logg 'Installing common dependencies using `pacman`'
|
||||
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
||||
|
||||
|
||||
### Install packages if they are not already present
|
||||
for PACKAGE in {{ $packages | sortAlpha | uniq | join " " -}}; do
|
||||
logg info 'Checking for presence of `'"$PACKAGE"'`'
|
||||
|
|
Loading…
Reference in a new issue