~ubuntu-branches/ubuntu/utopic/xscreensaver/utopic

« back to all changes in this revision

Viewing changes to debian/xscreensaver-data.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Ted Gould
  • Date: 2008-06-17 09:41:41 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617094141-0un910o2mu76ei4l
Tags: 5.05-1ubuntu1
* Added 70_demo_gtk_stfu_removal.patch to remove some more cases where
  the STFU macro is used such that when the #defines it's used on change
  the compile breaks.  Bad coding style.
* Removing 82_ubuntu-texturl-fridge.patch in favor of updating the
  53_XScreenSaver.ad.in.patch to include the Ubuntu branding instead
  of the Debian branding.  This should make merges easier as long as
  we use something smart like Bazaar.  Also the Debian version has lots
  of good changes like making it work with /etc/alternates which we
  didn't have.
* Removing 54_driver_demogtk.patch as it was merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
fi
17
17
 
18
18
#DEBHELPER#
 
19
#!/bin/sh
 
20
 
 
21
set -e
 
22
 
 
23
# remove old link if it exists
 
24
if [ -L /usr/X11R6/lib/X11/app-defaults/XScreenSaver ]; then
 
25
        rm /usr/X11R6/lib/X11/app-defaults/XScreenSaver
 
26
fi
 
27
 
 
28
# Use the correct app defaults
 
29
cd /etc/X11/app-defaults
 
30
if [ -f XScreenSaver-gl ]; then
 
31
        ln -sf XScreenSaver-gl  XScreenSaver
 
32
else
 
33
        ln -sf XScreenSaver-nogl XScreenSaver
 
34
fi
 
35
 
 
36
#DEBHELPER#