~ubuntu-branches/ubuntu/oneiric/ubuntustudio-default-settings/oneiric

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Scott Lavender
  • Date: 2011-01-28 10:50:57 UTC
  • Revision ID: james.westby@ubuntu.com-20110128105057-831mcdavp47gmg5x
Tags: 0.27
* set gnome-classic as default xsession rather than unity (LP: #702712)
* bumped standards version

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        kill -s HUP `pidof gconfd-2` >/dev/null 2>&1 || true
21
21
        rm -rf "$tmp_dir"
22
22
    fi
 
23
    if [ -x /usr/lib/gdm/gdm-set-default-session ] ; then
 
24
        /usr/lib/gdm/gdm-set-default-session --keep-old gnome-classic || true
 
25
    fi
23
26
 
24
27
    cp /usr/share/gconf/schemas/ubuntustudio-panel-settings.entries \
25
28
       /usr/share/gconf/defaults/21_ubuntustudio-panel-settings.entries
27
30
    update-gconf-defaults
28
31
 
29
32
    ;;
 
33
 
 
34
    upgrade)
 
35
    if [ -x /usr/lib/gdm/gdm-set-default-session ] ; then
 
36
        /usr/lib/gdm/gdm-set-default-session --keep-old gnome-classic || true
 
37
    fi
 
38
    ;;
 
39
 
30
40
esac