[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#254312: base-config: add a suffix to the file names of the menu items



Package: base-config
Version: 2.21
Severity: wishlist


It would be useful to add a special suffix to the executable
files in /usr/lib/base-config/menu which will be considered
as menu entries.

For example we could have:

mta.cfg mta.mnu mta.tst

and then change the code in prep-menu accordingly:

find menu \( -type f -or -type l \) -perm -700 -printf '%f\n' | grep .cfg

This way it would be easier for other packages to customise base-config. For
example a package could provide a custom mta.cfg diverting the original file
to mta.cfg.distrib, and prep-menu will not include the .distrib file in the
menu. 

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-multimedia-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages base-config depends on:
ii  adduser                 3.52             Add and remove users and groups
ii  apt                     0.5.24           Advanced front-end for dpkg
ii  aptitude                0.2.14-3         curses-based apt frontend
ii  bsdutils                1:2.12-3         Basic utilities from 4.4BSD-Lite
ii  console-data            2002.12.04dbs-38 Keymaps, fonts, charset maps, fall
ii  console-tools           1:0.2.3dbs-52    Linux console and font utilities
ii  debconf                 1.4.25           Debian configuration management sy
ii  debianutils             2.8.1            Miscellaneous utilities specific t
ii  gettext-base            0.14.1-2         GNU Internationalization utilities
ii  passwd                  1:4.0.3-26       Change and administer password and



Reply to: