~ubuntu-branches/ubuntu/lucid/sawfish/lucid-updates

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Christian Marillat
  • Date: 2005-02-23 16:16:46 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050223161646-4id6qyw4h9lkvb0v
Tags: 1:1.3+cvs20050222-1
* New cvs release.
* Add an emacs initialisation script to load sawfish.el (Closes: #295290)
* Updated sawfish.el to 1.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
  fi
12
12
 
13
13
# Remove old conffiles in < 0.38-1
14
 
  if [ -e /etc/X11/sawfish/site-init.d/defaults.jl ]; then
15
 
    rm /etc/X11/sawfish/site-init.d/defaults.jl
16
 
  fi
17
 
  if [ -e /etc/X11/sawfish/site-init.d/menu.jl ]; then
18
 
    rm /etc/X11/sawfish/site-init.d/menu.jl
19
 
  fi
 
14
        rm /etc/X11/sawfish/site-init.d/defaults.jl 2>/dev/null || true
 
15
        rm /etc/X11/sawfish/site-init.d/menu.jl 2>/dev/null || true
20
16
 
21
17
# Be sure to remove this old file
22
 
  if [ -e /etc/X11/sawfish/site-init.jl ]; then
23
 
    rm /etc/X11/sawfish/site-init.jl
24
 
  fi
 
18
        rm /etc/X11/sawfish/site-init.jl 2>/dev/null || true
 
19
 
 
20
# Remove old generated menu file in /etc
 
21
        rm /etc/X11/sawfish/debian-menu.jl 2>/dev/null || true
25
22
 
26
23
# Touch all jlc files
27
24
  find /usr/share/sawfish/*/lisp -name *.jlc | xargs touch
32
29
 
33
30
# Because dh_installwm don't install a slave manpage
34
31
  update-alternatives --install /usr/bin/x-window-manager \
35
 
  x-window-manager /usr/bin/sawfish 20 \
 
32
  x-window-manager /usr/bin/sawfish 70 \
36
33
  --slave /usr/share/man/man1/x-window-manager.1.gz \
37
34
  x-window-manager.1.gz /usr/share/man/man1/sawfish.1.gz
38
35