Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

locale dependency for package

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
dlublink
Posts: 1
Joined: 2009-02-08 16:12

locale dependency for package

#1 Post by dlublink »

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

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

#2 Post by edbarx »

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.

Post Reply