~ubuntu-installer/ubiquity/trunk

« back to all changes in this revision

Viewing changes to scripts/plugininstall.py

  • Committer: Dimitri John Ledkov
  • Date: 2014-12-21 05:57:59 UTC
  • Revision ID: dimitri.j.ledkov@intel.com-20141221055759-ugnj0mes9mbju5qe
scripts/plugininstall.py: Remove obsolete code to generate wallpaper
cache, unity-settings-daemon/gnome-settings-daemon now run in install
mode (LP: #1318621) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1617
1617
        target_user_wallpaper_cache_dir = os.path.join(target_user_cache_dir,
1618
1618
                                                       'wallpaper')
1619
1619
        if (not os.path.isdir(target_user_wallpaper_cache_dir) and
1620
 
            os.path.isfile('/usr/lib/gnome-settings-daemon/'
1621
 
                           'gnome-update-wallpaper-cache')):
1622
 
            # installer mode (else, g-s-d created it)
1623
 
            if not os.path.isdir(casper_user_wallpaper_cache_dir):
1624
 
                subprocess.call(['sudo', '-u', casper_user, '-i', 'DISPLAY=:0',
1625
 
                                 '/usr/lib/gnome-settings-daemon/'
1626
 
                                 'gnome-update-wallpaper-cache'])
 
1620
                os.path.isdir(casper_user_wallpaper_cache_dir)):
 
1621
 
1627
1622
            # copy to targeted user
1628
1623
            uid = subprocess.Popen(
1629
1624
                ['chroot', self.target, 'sudo', '-u', target_user, '--',