summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/scanner.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/scanner.pm b/perl-install/scanner.pm
index ab8ec23f4..6fa73b18e 100644
--- a/perl-install/scanner.pm
+++ b/perl-install/scanner.pm
@@ -88,6 +88,7 @@ sub installfirmware {
# Install the firmware file in /usr/share/sane/firmware
my ($firmware, $backend) = @_;
return "" if !$firmware;
+ $in ||= interactive->vnew;
# Install firmware
run_program::rooted($::prefix, "mkdir", "-p",
"/usr/share/sane/firmware") or do {