golden hour
/usr/lib/tasksel/tests
⬆️ Go Up
Upload
File/Folder
Size
Actions
debconf
909 B
Del
OK
default-desktop
884 B
Del
OK
desktop
2.32 KB
Del
OK
lang
494 B
Del
OK
laptop
259 B
Del
OK
limited
1.1 KB
Del
OK
new-install
607 B
Del
OK
server
190 B
Del
OK
Edit: limited
#!/bin/sh # # Selects a task by default if particular task names are listed in # tasksel/limit-tasks. Use like this: # # Test-limited: ubuntustudio-audio ubuntustudio-audio-plugins ubuntustudio-graphics ubuntustudio-video # # This will cause the task to be selected if any of those tasks are listed # in tasksel/limit-tasks, which is a reasonably good marker for a # specialised CD install. This only applies to new installs. # If we're being used to test an enhancing task, then it's always OK to go # ahead and mark the task for installation. if [ "$TESTING_ENHANCER" ]; then exit 0 # do not display, but do install task fi if [ ! "$NEW_INSTALL" ]; then exit 3 # display task, not marked for installation fi . /usr/share/debconf/confmodule if ! db_fget tasksel/limit-tasks seen || [ "$RET" != true ]; then exit 3 # display task, not marked for installation fi db_get tasksel/limit-tasks LIMIT="$(echo "$RET" | sed 's/,/ /g')" shift for task; do for limit in $LIMIT; do if [ "$task" = "$limit" ]; then exit 2 # display task, marked for installation fi done done exit 3 # display task, not marked for installation
Save