22 lines
402 B
Plaintext
22 lines
402 B
Plaintext
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
|
|
else
|
|
return 1
|
|
fi
|
|
else
|
|
return 1
|
|
fi
|
|
}
|
|
|
|
DESCRIPTION="Add tray icon for network"
|
|
|
|
#TODO
|
|
PACKAGES=""
|
|
|
|
function post_install {
|
|
echo "systray/network" >> /tmp/stage-2-choices
|
|
}
|