Skip to content
Snippets Groups Projects
Commit ea783f09 authored by guinux's avatar guinux
Browse files

fix #228

parent bd81be26
No related branches found
No related tags found
No related merge requests found
......@@ -532,7 +532,12 @@ namespace Pamac {
transaction.get_aur_details.begin (details.name, (obj, res) => {
AURPackageDetails aur_details = transaction.get_aur_details.end (res);
if (aur_details.name != "") {
if (aur_details.version == details.version) {
// always show reinstall button for VCS package
if (aur_details.name.has_suffix ("-git") ||
aur_details.name.has_suffix ("-svn") ||
aur_details.name.has_suffix ("-bzr") ||
aur_details.name.has_suffix ("-hg") ||
aur_details.version == details.version) {
reinstall_togglebutton.visible = true;
reinstall_togglebutton.active = transaction.to_build.contains (details.name);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment