Commit 204e56f5 authored by BetaRays's avatar BetaRays Committed by Antoine Le Gonidec

Gentoo support — Specify alternative way to install packages in gentoo installation instructions

parent b8e22fd6
Pipeline #106356 passed with stage
in 1 minute and 24 seconds
......@@ -37,5 +37,5 @@
library_version=2.11.0~dev
# shellcheck disable=SC2034
library_revision=20190120.1
library_revision=20190123.1
......@@ -3,6 +3,7 @@
print_instructions_gentoo() {
local pkg_path
local str_format
local str_comment
printf 'quickunpkg --'
for pkg in "$@"; do
if [ "$OPTION_ARCHITECTURE" != all ] && [ -n "${PACKAGES_LIST##*$pkg*}" ]; then
......@@ -17,6 +18,14 @@ print_instructions_gentoo() {
fi
printf "$str_format" "$pkg_path"
done
printf ' # %s\n' 'https://www.dotslashplay.it/ressources/gentoo/'
case "${LANG%_*}" in
('fr')
str_comment='ou mettez les paquets dans un PKGDIR et emergez-les'
;;
('en'|*)
str_comment='or put the packages in a PKGDIR and emerge them'
;;
esac
printf ' # %s %s\n' 'https://www.dotslashplay.it/ressources/gentoo/' "$str_comment"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment