diff options
author | Colin Guthrie <colin@mageia.org> | 2013-12-02 23:50:47 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-12-02 23:54:06 +0000 |
commit | 90b6c91391425ad5f2bef237cbe984c19db458e8 (patch) | |
tree | b21beb36ba0b8ee3faeaf47177bcb6a5051e725d /tools | |
parent | 67fc828cc11e67cbeb1813280e235f197ba801b6 (diff) | |
download | drakx-90b6c91391425ad5f2bef237cbe984c19db458e8.tar drakx-90b6c91391425ad5f2bef237cbe984c19db458e8.tar.gz drakx-90b6c91391425ad5f2bef237cbe984c19db458e8.tar.bz2 drakx-90b6c91391425ad5f2bef237cbe984c19db458e8.tar.xz drakx-90b6c91391425ad5f2bef237cbe984c19db458e8.zip |
tools: Prefer /usr/sbin over /usr/bin.
The list already contains /sbin and /bin which are just symlinks to the
above, but the order is different for / vs. /usr.
Due to the symlinks we always prefer sbin over bin anyway, so this change
doesn't technically change anything but does clarify things
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install-xml-file-list | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list index 42a567ef5..0dc1b2e4e 100755 --- a/tools/install-xml-file-list +++ b/tools/install-xml-file-list @@ -258,7 +258,7 @@ sub install { } elsif ($expand eq 'binary') { $disallow_from_dir->(); - my @PATH = qw(/sbin /bin /usr/bin /usr/sbin /usr/X11R6/bin); + my @PATH = qw(/sbin /bin /usr/sbin /usr/bin /usr/X11R6/bin); foreach my $name (map { expand_macros($_) } @text_l) { my @l = grep { -x $_ } map { "$_/$name" } @PATH; @l or error("can't find binary $name"), next; |