package_selections/**: ensure that we have an internet connection where we need it
parent
b8ebdffc56
commit
a8a62834d4
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/icewm" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 0
|
||||
else
|
||||
|
@ -11,6 +12,8 @@ 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
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if xbps-query glibc >/dev/null 2>&1; then
|
||||
return 0
|
||||
else
|
||||
|
@ -9,6 +10,7 @@ function check {
|
|||
DESCRIPTION="Latest Nvidia driver, supports GTX ??? series and up"
|
||||
|
||||
#TODO: optimus support?
|
||||
#TODO: void-repo-nonfree
|
||||
PACKAGES="nvidia"
|
||||
|
||||
function post_install {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if xbps-query glibc >/dev/null 2>&1; then
|
||||
return 0
|
||||
else
|
||||
|
@ -9,6 +10,7 @@ function check {
|
|||
DESCRIPTION="Legacy Nvidia driver, version 390, supports GTX ??? series"
|
||||
|
||||
#TODO: Optimus support?
|
||||
#TODO: void-repo-nonfree
|
||||
PACKAGES="nvidia390"
|
||||
|
||||
function post_install {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if xbps-query glibc >/dev/null 2>&1; then
|
||||
return 0
|
||||
else
|
||||
|
@ -9,6 +10,7 @@ function check {
|
|||
DESCRIPTION="Legacy Nvidia driver, version 470, supports GTX ??? series"
|
||||
|
||||
#TODO: optimus support?
|
||||
#TODO: void-repo-nonfree
|
||||
PACKAGES="nvidia470"
|
||||
|
||||
function post_install {
|
||||
|
|
|
@ -8,6 +8,7 @@ PACKAGES=""
|
|||
|
||||
function post_install {
|
||||
#TODO: configure things
|
||||
# (probably by barfing the bashrc using echo)
|
||||
|
||||
echo "pre-configure/bashrc" >> /tmp/stage-2-choices
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/icewm" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
if grep "audio/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 0
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/icewm" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
if grep "audio/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue