locale dependency for package

News and discussion about development of the Debian OS itself

locale dependency for package

Postby dlublink » 2009-02-08 16:14

Hey,

I wrote a .deb file and have would like to require certain locales. Is there a line I can add to my .deb file to require the locale?

I know normally it goes with what the user already installed, but this particular package is a special case.

Thanks,

David
dlublink
 
Posts: 1
Joined: 2009-02-08 16:12

Postby edbarx » 2009-02-09 11:00

I must assume, you can do that by modifying the preinstallation script. Make it check for the locale and issue an informative message if the condition is not met. Then instruct it to abort the installation.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
User avatar
edbarx
 
Posts: 5397
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable