[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



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.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information excluded



Reply to: