~ubuntu-branches/ubuntu/precise/indicator-weather/precise

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Package Import Robot
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2012-01-20 15:25:46 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120120152546-teqc89yc42ddtb3x
Tags: 11.11.28-0ubuntu1
* New upstream release.
 - Preferences buttons OK and Cancel and Forecast's Close
   are not focusable (LP: #853774)
 - Don't crash if Google doesn't return icons (LP: #809187)
 - Display degrees in wind info item if Yahoo is selected (LP: #838369)
 - Fixed Assistant behavior for Forward/Back movements (LP: #804659)
 - Fixed a crash when Unknown wind condition was returned, thanks
   Tomasz Maciejewski! (LP: #886028)
 - Don't write too much debug info in the log (LP: #917253)
* Drop debian/patches/autostart.patch, applied upstream.
* Drop debian/README.source, no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    [ !  -L "/usr/share/icons/gnome/22x22/status/weather-clouds.png" ]; then
21
21
    ln -s /usr/share/icons/gnome/22x22/status/weather-few-clouds.png /usr/share/icons/gnome/22x22/status/weather-clouds.png
22
22
    ln -s /usr/share/icons/gnome/22x22/status/weather-clouds-night.png /usr/share/icons/gnome/22x22/status/weather-clouds-night.png
23
 
    gtk-update-icon-cache /usr/share/icons/gnome/
 
23
    
 
24
    if [ -x /usr/bin/gtk-update-icon-cache-3.0 ]; then
 
25
        if ! gtk-update-icon-cache-3.0; then
 
26
            echo "WARNING: icon cache generation failed"
 
27
        fi
 
28
    fi
 
29
    
 
30
    if [ -x /usr/bin/gtk-update-icon-cache ]; then
 
31
        if ! gtk-update-icon-cache; then
 
32
            echo "WARNING: icon cache generation failed"
 
33
        fi
 
34
    fi
 
35
    
24
36
else
25
37
    exit 0
26
38
fi