Bug #333
[libremakepkg] local [repo] should be maximum priority by default, not minimum
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
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