We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73dfbe commit 2db8811Copy full SHA for 2db8811
apin.pl
@@ -2,10 +2,6 @@
2
use strict;
3
use warnings;
4
5
-# github.com/dbbolton
6
-#
7
-# I use this script to install packages through aptitude as a normal user.
8
-
9
my $args = '-P ';
10
my $packages = '';
11
my $pattern = '';
@@ -18,7 +14,7 @@
18
14
elsif ( /^[~?]/ ) {
19
15
$pattern .= $_;
20
16
}
21
- elsif ( /^\w+$/ ) {
17
+ elsif ( /^[\w-.]+$/ ) {
22
$packages .= $_ . ' ';
23
24
0 commit comments