mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add -launch-kde option
This commit is contained in:
parent
1cde32965b
commit
15c548168e
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ usage () {
|
|||
echo -e " \033[1m-launch-xfce\033[0m Launch XFCE desktop with VNC sharing enabled."
|
||||
echo ""
|
||||
fi
|
||||
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3500000 &&\
|
||||
-e /usr/bin/setup && ! -e /var/cache/pacman/pkg/archboot.db ]]; then
|
||||
echo -e " \033[1m-launch-xfce\033[0m Launch XFCE desktop with VNC sharing enabled."
|
||||
echo ""
|
||||
fi
|
||||
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3900000 &&\
|
||||
-e /usr/bin/archboot-"${_RUNNING_ARCH}"-release.sh ]]; then
|
||||
echo -e " \033[1m-latest-image\033[0m Generate latest image files in /archboot directory"
|
||||
|
|
Loading…
Reference in a new issue