~ubuntu-branches/ubuntu/karmic/xscreensaver/karmic

« back to all changes in this revision

Viewing changes to debian/xscreensaver.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2006-02-20 18:41:15 UTC
  • Revision ID: james.westby@ubuntu.com-20060220184115-mrak52sfd8g7ftiv
Tags: 4.23-4ubuntu4
* make xscreensaver use /usr/share/backgrounds as default 
  (compile time option) location for image processing screensavers
  and enable random images in the default config (adds build dep to
  ubuntu-artwork that creates this dir. to be moved to a combination
  of a screensaver specific subdir and an ubuntu-artwork-screensaver
  package for default images)
* move the default config to the -data .deb so it applies for hacks without
  having xscreensaver installed adjust postinst and postrm files accordingly
* split out packages xscreensaver-data-extra and xscreensaver-gl-extra so
  xscreensaver-data and xscreensaver-gl only contain the hacks we want to
  ship which gains us 5 megabytes on the CD (install the -extra files to get
  the full set of hacks as before)
* make planet.ubuntu.com the default rss source for rss reading screensavers
* make sure the ant screensaver is built and installed 

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
                /usr/share/control-center/Desktop/screensaver-properties.desktop
15
15
fi
16
16
 
17
 
# remove old link if it exists
18
 
if [ -L /usr/X11R6/lib/X11/app-defaults/XScreenSaver ]; then
19
 
        rm /usr/X11R6/lib/X11/app-defaults/XScreenSaver
20
 
fi
21
 
 
22
 
# Use the correct app defaults
23
 
cd /etc/X11/app-defaults
24
 
if [ -f XScreenSaver-gl ]; then
25
 
        ln -sf XScreenSaver-gl  XScreenSaver
26
 
else
27
 
        ln -sf XScreenSaver-nogl XScreenSaver
28
 
fi
29
 
 
30
17
#DEBHELPER#