| Server IP : 159.253.20.91 / Your IP : 216.73.216.111 Web Server : nginx/1.20.2 System : Linux se38c9e53.fastvps-server.com 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 User : pr11_ru_usr ( 1041) PHP Version : 8.1.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/tasksel/ |
Upload File : |
#!/bin/sh # because debconf sucks . /usr/share/debconf/confmodule set -e # provide an exit path, and abort if none is possible db_capb backup tmpfile=$1 choices="$2" choicestrans="$3" defaults="$4" question=$5 db_settitle tasksel/title db_subst $question CHOICES_C "$choices" db_subst $question CHOICES "$choicestrans" # Allow tasksel/first to be preseeded. If it's marked as seen, then # it must have been preseeded, and that overrides any defaults set by # tasksel. if [ "$question" = "tasksel/first" ]; then db_fget $question seen if [ "$RET" = false ]; then db_set $question "$defaults" fi else db_set $question "$defaults" fi db_input high $question || true db_go # note: intentionally unguarded db_fset $question seen false db_get $question echo "$RET" >$tmpfile