void-minecraft-usb/package_selections/extras/desktop-backgrounds

20 lines
407 B
Plaintext

function check {
[ "$INTERNET" = "down" ] && return 1
if grep "desktop/icewm" /tmp/stage-2-choices >/dev/null 2>&1; then
return 0
else
return 1
fi
}
DESCRIPTION="Add some desktop backgrounds and randomly choose one on login"
PACKAGES=""
function post_install {
# TODO: install wget
# TODO: configure
# TODO: remove wget
echo "extras/desktop-backgrounds" >> /tmp/stage-2-choices
}