• The forum software that supports hummy.tv has been upgraded to XenForo 2.1!

    This upgrade brings a number of improvements including the ability to bookmark posts to come back to later. Please bear with us as we continue to tweak things and open a new thread for any questions, issues or suggestions in Site/Forum Issues.

Qtube being updated although package removed

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?
 

MymsMan

Ad detector
qtube (the webif frontend) is a seperate package from youtube-dl so you are seeing the youtybe-dl updates (qtube hasn't changed recently)
 

prpr

Well-Known Member
It's a relatively simple change to make the WebIf automatically remove unused dependencies when removing a package. I don't know why it's never been done...
 

prpr

Well-Known Member
It's a relatively simple change to make the WebIf automatically remove unused dependencies when removing a package.
@af123
Diff:
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');
 
Last edited by a moderator:
Top