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

« back to all changes in this revision

Viewing changes to debian/ubuntustudio-default-settings.postinst

  • Committer: Package Import Robot
  • Author(s): Kaj Ailomaa, Len Ovens, Kaj Ailomaa
  • Date: 2013-09-18 20:24:28 UTC
  • Revision ID: package-import@ubuntu.com-20130918202428-szn620bxlgb2v1u8
Tags: 0.48
[ Len Ovens ]
* make sure grub.cfg is rebuilt (lp: #1220894)

[ Kaj Ailomaa ]
* Set default wallpaper to ubuntustudio-1310.png (lp: #1227325)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
set -e
4
4
 
5
 
# The xfce session confuses people so remove it.
6
 
# This package replaces it with ubuntustudio session anyway.
7
 
# The -f is used because we don't want to abort on fail
8
 
rm -f /usr/share/xsessions/xfce.desktop
9
 
 
10
 
exit 0
11
 
 
12
5
#DEBHELPER#
 
6
 
 
7
case "$1" in
 
8
        configure)
 
9
 
 
10
        # The xfce session confuses people so remove it.
 
11
        # This package replaces it with ubuntustudio session anyway.
 
12
        # The -f is used because we don't want to abort on fail
 
13
        rm -f /usr/share/xsessions/xfce.desktop
 
14
 
 
15
        # Update grub to apply possible name override
 
16
        # and lowlatency patch
 
17
        if [ -e /boot/grub/grub.cfg ] && which update-grub2 >/dev/null 2>&1; then
 
18
                update-grub2
 
19
        fi
 
20
        ;;
 
21
 
 
22
esac