function check { [ "$INTERNET" = "down" ] && return 1 return 0 } DESCRIPTION="Lighter IceWM setup" XORG_PACKAGES="setxkbmap xauth xorg-video-drivers mesa mesa-dri xorg-server elogind xorg-input-drivers xrandr acpilight xhost xinit xrdb xinput xgamma xset iceauth sessreg transset xcmsdb xkbutils xmodmap dejavu-fonts-ttf" # TODO PACKAGES="$XORG_PACKAGES icewm elogind" function post_install { echo "desktop/icewm-light" >> /tmp/stage-2-choices }