mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-25 07:29:37 -05:00
011a71a36d
Editorconfig can only act based on file extension and path, not attributes, it remains a mean only for multiple collaborators to use the same configuration on their editor. When it is too restrictive, such as not considering the file syntax, use a lint tool for the specific file type instead of trusting editorconfig. Changes were made to increase readability.
18 lines
546 B
Bash
Executable File
18 lines
546 B
Bash
Executable File
#!/bin/sh
|
|
|
|
## SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
##
|
|
## SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
## TODO: Remove when template with patch reaches upstream or updates enforce
|
|
## salt-deps to be installed.
|
|
## https://github.com/QubesOS/qubes-issues/issues/8806
|
|
|
|
set -eu
|
|
|
|
qube="${1}"
|
|
dnf_min_install="dnf -q install --refresh -y --setopt=install_weak_deps=False"
|
|
|
|
qvm-run --user=root --pass-io --filter-escape-chars --no-color-output \
|
|
--no-color-stderr "${qube}" -- "${dnf_min_install} python3-urllib3"
|