File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ function package_dialog.get_formspec()
229
229
formspec [# formspec + 1 ] = fgettext (" Install" )
230
230
formspec [# formspec + 1 ] = " ]"
231
231
elseif package .installed_release < package .release then
232
+ -- The install_ action also handles updating
232
233
formspec [# formspec + 1 ] = " button[7,0;2,1;install;"
233
234
formspec [# formspec + 1 ] = fgettext (" Update" )
234
235
formspec [# formspec + 1 ] = " ]"
@@ -477,7 +478,8 @@ function store.get_formspec()
477
478
formspec [# formspec + 1 ] = fgettext (" Install" )
478
479
formspec [# formspec + 1 ] = " ]"
479
480
elseif package .installed_release < package .release then
480
- formspec [# formspec + 1 ] = " button[8.4,0;1.5,1;update_"
481
+ -- The install_ action also handles updating
482
+ formspec [# formspec + 1 ] = " button[8.4,0;1.5,1;install_"
481
483
formspec [# formspec + 1 ] = tostring (i )
482
484
formspec [# formspec + 1 ] = " ;"
483
485
formspec [# formspec + 1 ] = fgettext (" Update" )
You can’t perform that action at this time.
0 commit comments