~ubuntu-branches/debian/sid/menu/sid

« back to all changes in this revision

Viewing changes to scripts/install-fvwmgenmenu.sh

  • Committer: Bazaar Package Importer
  • Author(s): Bill Allombert
  • Date: 2005-05-24 10:34:47 UTC
  • mfrom: (1.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050524103447-9zu50so5d0nte3o9
Tags: 2.1.24
* The "head or tail" release 
* Fix .menus typo in menufile.5. Closes: #306564. Thanks Sean Finney.
* Add Vietnamese menu messages and menu sections translations.
  Thanks Clytie Siddall. Closes: #307450, #308953.
* Update Esperanto menu sections translation. Thanks MJ Ray.
* Add Esperanto menu messages translation. Thanks MJ Ray.
* Unfuzzy Norwegian Bokmål menu messages translation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
set -e
4
 
 
5
 
#first, get rid of the output update-menu handed to us
6
 
# (this is now new-syntax menu information)
7
 
cat > /dev/null
8
 
 
9
 
 
10
 
cat <<"EOF"
11
 
Hi there!
12
 
 
13
 
You are guilty of possessing a system with (at least) one /etc/menu-methods/*
14
 
that is written using the over 2-years-old menu-method syntax.
15
 
 
16
 
The program used for interpreting this old syntax started segfaulting
17
 
in menu version 1.5-20, causing many problems.
18
 
 
19
 
I've been maintaining the compat stuff now for over two years, and I
20
 
simply don't feel like it's worth the trouble any more.
21
 
 
22
 
So, in this menu version, support for the 2-years-old menu-method syntax
23
 
has been removed.
24
 
 
25
 
 
26
 
What should you do now?
27
 
 
28
 
EOF
29
 
 
30
 
BASE=`basename $1`
31
 
EXAMP=/usr/doc/menu/examples/$BASE
32
 
METHOD=/etc/menu-methods/$BASE
33
 
if test -f $EXAMP; then
34
 
cat <<EOF
35
 
Well, you are lucky as I (menu maintainer) have already re-written
36
 
the old-syntax $METHOD file, and put the new-syntax version
37
 
in /usr/doc/menu/examples/$BASE. So, if you are a sysadmin, simply do:
38
 
  cp $EXAMP $METHOD
39
 
If you are the maintain'er of $BASE, then please replace $METHOD 
40
 
with the new $EXAMP file in your package.
41
 
 
42
 
Thanks!
43
 
joostje@debian.org
44
 
EOF
45
 
 
46
 
else
47
 
cat <<EOF
48
 
Well, although I did try to rewrite as many (all?) menu-methods files
49
 
in /etc/menu-methods/, I seem to have overlooked $BASE. So, it needs
50
 
to be written. It isn't all that difficult, so probably you will succeed
51
 
in doing it yourself, by looking at the documentation in /usr/doc/menu,
52
 
and other example menu-method files in /etc/menu-methods/.
53
 
However, I would very much like to help with this, so if you don't have
54
 
the inclination, time, or have any other problem, just send the latest
55
 
version of your menu-method file to me, and I will translate it.
56
 
 
57
 
Thanks!
58
 
joostje@debian.org
59
 
EOF
60
 
fi
61