mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix move to common
This commit is contained in:
parent
ad51478a81
commit
8b000796ca
2 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ _install_archboot() {
|
|||
}
|
||||
|
||||
_download_graphical() {
|
||||
_riscv64_disable_graphics "${1}"
|
||||
_riscv64_disable_graphics "${1}" "${2}"
|
||||
if grep -qw archboot /etc/hostname; then
|
||||
# strip down to XFCE on memory < 4096
|
||||
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3478000 ]]; then
|
||||
|
|
|
@ -12,9 +12,9 @@ _usage () {
|
|||
}
|
||||
|
||||
_download_packages() {
|
||||
_riscv64_disable_graphics "${1}" "${2}"
|
||||
if [[ "${2}" == "use_binfmt" ]]; then
|
||||
_pacman_key "${1}"
|
||||
_riscv64_disable_graphics "${1}"
|
||||
fi
|
||||
_PACKAGES="${_PACKAGES} ${_ARCHBOOT} ${_GRAPHICAL_PACKAGES}"
|
||||
echo "Downloading ${_PACKAGES} to ${1} ..."
|
||||
|
|
Loading…
Reference in a new issue