Project

General

Profile

Bug #333

[libremakepkg] local [repo] should be maximum priority by default, not minimum

lukeshu - almost 11 years ago - . Updated over 10 years ago.

Status:
fixed
Priority:
bug
Category:
-
Assignee:
-
% Done:

100%


Description

The local [repo] should be maximum priority (listed first), where currently it is appended to the end of the file, so it is minimum priority.

For example, if jh-0.4 is on [java], and I have jh-0.4.1 on [repo], unless I manually moved repo up in pacman.conf, `pacman -S jh` will install the version from [java].

History

#2

Updated by bugmenot almost 11 years ago

190c190,192
< cat >> "$copydir/etc/pacman.conf" <<EOF
---

tmp=`mktemp`
cat "$copydir/etc/pacman.conf" >$tmp
cat > "$copydir/etc/pacman.conf" <<EOF

194a197,198

cat >> "$copydir/etc/pacman.conf" <$tmp
rm $tmp;unset tmp

#3

Updated by lukeshu over 10 years ago

This was added in 20131027.

Also available in: Atom PDF