novi debian/rules i novi debian/copyright
[ntp-cn.git] / debian / postinst
index 1acb14a..58fa1da 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 [ "$1" = "configure" ] || exit 0
 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
 
@@ -12,7 +14,7 @@ konfiguriraj() {
     cp -p /etc/default/ntp-servers /etc/default/ntp-servers.dpkg-old
   fi
 
-  cp /usr/share/doc/ntp-cn/ntp.conf.tmpl /etc
+  cp /usr/share/doc/ntp-cn/ntp.conf.tmpl /etc/ntp.conf
 
   # Load CARNet Tools
   . /usr/share/carnet-tools/functions.sh