mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-24 23:15:39 +00:00
Build deps: Unset result variable before use
This commit is contained in:
parent
a1fa8049cc
commit
9f69f9a954
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
# This script is installing the required dependencies to correctly run the pipeline and build the flatpak
|
||||
|
||||
unset result
|
||||
|
||||
# rpm-ostree must be checked before dnf because a dnf (wrapper) command also works on rpm-ostree distros (not what we want)
|
||||
for pkg_manager in apt pacman rpm-ostree dnf; do
|
||||
command -v "$pkg_manager" &> /dev/null && result="$pkg_manager" && break
|
||||
|
|
Loading…
Reference in a new issue