@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
usr
/
share
/
perl5
/
Debconf
/
Element
/
Noninteractive
/
Path :
Upload File :
New :
File
Dir
//usr/share/perl5/Debconf/Element/Noninteractive/Select.pm
#!/usr/bin/perl -w # This file was preprocessed, do not edit! package Debconf::Element::Noninteractive::Select; use strict; use base qw(Debconf::Element::Noninteractive); sub show { my $this=shift; $this->question->template->i18n(''); my @choices=$this->question->choices_split; $this->question->template->i18n(1); my $value=$this->question->value; $value='' unless defined $value; my $inlist=0; map { $inlist=1 if $_ eq $value } @choices; if (! $inlist) { if (@choices) { $this->value($choices[0]); } else { $this->value(''); } } else { $this->value($value); } } 1