peterworks
Ye Olde Bowler
As above - I removed Qtube from one of my machines a couple of weeks (still employing it on the other) but I still get the updates.
Any reason for this?
Any reason for this?
@af123It's a relatively simple change to make the WebIf automatically remove unused dependencies when removing a package.
humax /mnt/hd2/mod/webif/html/pkg # diff -w script.js~ script.js
--- script.js~
+++ script.js
@@ -189,11 +189,16 @@
$(panel).find('button.remove, button.install, button.upgrade')
.button()
.click(function() {
- if ($(this).attr('action') == 'remove' &&
- !confirm('Please confirm removal of the ' +
+ if ($(this).attr('action') == 'remove')
+ {
+ if (!confirm('Please confirm removal of the ' +
$(this).attr('id') + ' package.'))
return;
+ execopkg('remove --autoremove ' + $(this).attr('id'),
+ $(this).closest('tr').attr('pkg'));
+ }
+ else
execopkg($(this).attr('action') + ' ' + $(this).attr('id'),
$(this).closest('tr').attr('pkg'));
}).fadeIn('slow');