Server IP : 185.86.78.101 / Your IP : 216.73.216.124 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/tasksel/ |
Upload File : |
#! /bin/sh # # Filter a list of tasks based on whether they are listed in # tasksel/force-tasks, tasksel/limit-tasks, or tasksel/skip-tasks. We take a # list of all displayable tasks as arguments. In the output file (first # argument), we emit a series of lines each of one of these two forms, with # the same meaning as in Test-new-install: # # task-name install # task-name skip # # Tasks that should be shown as normal are omitted. # # (Yes, this could be done as part of the new-install test. However, until # such time as tasksel's core uses debconf, this is very slow because it # requires starting up debconf once per task.) set -e . /usr/share/debconf/confmodule OUTPUT="$1" shift FORCE= if db_fget tasksel/force-tasks seen && [ "$RET" = true ]; then db_get tasksel/force-tasks FORCE="$(echo "$RET" | sed 's/,/ /g')" fi LIMIT= if db_fget tasksel/limit-tasks seen && [ "$RET" = true ]; then db_get tasksel/limit-tasks LIMIT="$(echo "$RET" | sed 's/,/ /g')" fi SKIP= if db_fget tasksel/skip-tasks seen && [ "$RET" = true ]; then db_get tasksel/skip-tasks SKIP="$(echo "$RET" | sed 's/,/ /g')" fi for task; do for force in $FORCE; do if [ "$task" = "$force" ]; then echo "$task install" >> "$OUTPUT" continue 2 fi done for skip in $SKIP; do if [ "$task" = "$skip" ]; then echo "$task skip" >> "$OUTPUT" continue 2 fi done if [ "$LIMIT" ]; then found=0 for limit in $LIMIT; do if [ "$task" = "$limit" ]; then found=1 break fi done if [ "$found" = 0 ]; then echo "$task skip" >> "$OUTPUT" fi fi done exit 0