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

2004-06-16 Thread Free Ekanayaka
> On Mon, 14 Jun 2004 12:32:35 -0400, Joey Hess <[EMAIL PROTECTED]> said:

Joey> [1 ]
Joey> Free Ekanayaka wrote:
>> 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.

Joey> Not that I'm opposed to your idea, but you should be able to
Joey> just divert the menu item to a different directory.

Yes true, and that's fine for me.

I'm closing the bug.

Thanks,

Free



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2004-06-14 Thread Joey Hess
Free Ekanayaka wrote:
> 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. 

Not that I'm opposed to your idea, but you should be able to just divert
the menu item to a different directory.

-- 
see shy jo


signature.asc
Description: Digital signature


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

2004-06-14 Thread Free Ekanayaka
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  aptitude0.2.14-3 curses-based apt frontend
ii  bsdutils1:2.12-3 Basic utilities from 4.4BSD-Lite
ii  console-data2002.12.04dbs-38 Keymaps, fonts, charset maps, fall
ii  console-tools   1:0.2.3dbs-52Linux console and font utilities
ii  debconf 1.4.25   Debian configuration management sy
ii  debianutils 2.8.1Miscellaneous utilities specific t
ii  gettext-base0.14.1-2 GNU Internationalization utilities
ii  passwd  1:4.0.3-26   Change and administer password and


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]