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

Bug#647394: mechanism for tzdata update to run scripts to update derived data



Le 02/11/2011 10:11, Steven Ayre a écrit :
> Package: tzdata
> Version: 2011n-0squeeze1
> Severity: wishlist
> 
> It could be useful to have a mechanism so that a tzdata upgrade (or downgrade) would run scripts that could perform actions such as updating any derived data on the system.
> 
> As an example we could have one such action a script that runs mysql_tzinfo_to_sql as debian-sys-maint to repopulate the timezone tables with the updated timezone information.
> 
> As a suggestion, this could be implemented as running all scripts in a /etc/tzdata.d directory at the end of the postinst script.

Why has it to be implemented in tzdata? Wouldn't be better if the other
packages use the dpkg trigger mechanism to know when tzdata is updated?
Or rather actually use the data from tzdata directly instead of
duplicating the information.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: