File: newvserver-tzconfig.diff

package info (click to toggle)
vserver-debiantools 0.7.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 212 kB
  • ctags: 24
  • sloc: sh: 1,609; makefile: 90
file content (17 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- newvserver.old	2006-08-20 18:21:53.000000000 +0200
+++ newvserver	2006-08-20 18:59:14.000000000 +0200
@@ -538,7 +538,13 @@
 
 dselect update
 
-tzsetup -y
+# tzsetup was part of base-config which is gone since etch
+# tzconfig is part of libc, so it should be ubiquitious
+if [ -x /usr/sbin/tzsetup ]; then
+    /usr/sbin/tzsetup -y
+elif [ -x /usr/sbin/tzconfig ]; then
+    /usr/sbin/tzconfig
+fi
 
 dpkg-reconfigure passwd