assign the absolute key path and not the relative one

pull/1/head
parent 3aef4dcc67
commit 75428e37dd
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -2724,10 +2724,10 @@ sub main() {
} }
# since abs_path resolved all symlinks for us, we can now test # since abs_path resolved all symlinks for us, we can now test
# what the actual target actually is # what the actual target actually is
if (-d $opt_value) { if (-d $abs_path) {
$options->{apttrustedparts} = $opt_value; $options->{apttrustedparts} = $abs_path;
} else { } else {
$options->{apttrusted} = $opt_value; $options->{apttrusted} = $abs_path;
} }
}, },
's|silent' => sub { $verbosity_level = 0; }, 's|silent' => sub { $verbosity_level = 0; },

Loading…
Cancel
Save