K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / lib / tasksel / tests /
server ip : 104.21.89.46

your ip : 172.69.17.171

H O M E


Filename/usr/lib/tasksel/tests/limited
Size1.1 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:52
Last modified04-Apr-2014 20:58
Last accessed06-Jul-2025 01:48
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/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