~ubuntu-branches/ubuntu/jaunty/kaffeine/jaunty-proposed

« back to all changes in this revision

Viewing changes to debian/install-codecs

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2008-09-22 12:24:21 UTC
  • Revision ID: james.westby@ubuntu.com-20080922122421-g80syp4l832xpvzu
Tags: 0.8.6-2ubuntu2
* Fix install-codecs (LP: #210303)
  - Added some returns and use KDE 4's kdesu and the new install-package
* Recommend kdebase-runtime and install-package for install-codecs
* Final newlines for kaffeine-gstreamer.install and KUBUNTU-DEBIAN-DIFF
* quilt refresh

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        else:
64
64
            QMessageBox.critical(self, _('Error'), _('Unknown codec type'))
65
65
            QApplication.exit(1)
 
66
            return
66
67
 
67
68
        if not self.installer():
68
69
            QApplication.exit(1)
 
70
            return
69
71
 
70
72
        os.system('dcop kaffeine KaffeineIface reloadEngine')
71
73
        os.system('dcop kaffeine KaffeineIface play')
100
102
        return True
101
103
 
102
104
    def install_cache_package(self, pkg):
103
 
        if os.system('kdesu -d \'adept_batch install ' + pkg.name + '\'') != 0:
 
105
        if os.system('/usr/lib/kde4/libexec/kdesu -d \'install-package --install ' + pkg.name + '\'') != 0:
104
106
            QApplication.exit(1)
105
107
            return
106
108