mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add comment
This commit is contained in:
parent
d51f6e689d
commit
dc8da264c8
1 changed files with 2 additions and 0 deletions
|
@ -34,8 +34,10 @@ usage () {
|
|||
if [[ ! -e "/var/cache/pacman/pkg/archboot.db" || -e "/usr/bin/setup" ]]; then
|
||||
echo -e " \033[1m-u\033[0m Update scripts: setup, quickinst, tz, km and helpers."
|
||||
fi
|
||||
# latest image
|
||||
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 2500000 && ! -e "/.full_system" && ! -e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
||||
echo -e " \033[1m-full-system\033[0m Switch to full Arch Linux system."
|
||||
# local image
|
||||
elif [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 2571000 && ! -e "/.full_system" && -e "/var/cache/pacman/pkg/archboot.db" && -e "/usr/bin/setup" ]]; then
|
||||
echo -e " \033[1m-full-system\033[0m Switch to full Arch Linux system."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue