Skip to content
Snippets Groups Projects
Unverified Commit 17661f51 authored by Oliver Smith's avatar Oliver Smith
Browse files

install_pmbootstrap.sh: make depends git-friendly

Put each dependency in a single line, sort them alphabetically and
change the code that prints the dependencies to still print them as
single line.
parent 8acc627d
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,17 @@ if [ -e "$pmaports/pmaports.cfg" ]; then
fi
# Set up depends and binfmt_misc
depends="coreutils openssl python3 sudo git $*"
echo "Installing dependencies: $depends"
depends="coreutils
git
openssl
python3
sudo
$*"
printf "Installing dependencies:"
for i in $depends; do
printf "%s" " $i"
done
printf "\n"
# shellcheck disable=SC2086
apk -q add $depends
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment