fixed typo in control
[openssh-cn.git] / debian / postinst
index 3090076..fc0f9c7 100755 (executable)
@@ -21,8 +21,12 @@ if [ -f /etc/ssh/sshd_config ]; then
 fi
 
 # restart
-if [ -x /usr/sbin/invoke-rc.d ]; then
-  [ -x /etc/init.d/ssh ] && invoke-rc.d ssh restart
-else
-  [ -x /etc/init.d/ssh ] && /etc/init.d/ssh restart
-fi
+invoke-rc.d ssh restart
+
+#if [ -x /usr/sbin/invoke-rc.d ]; then
+#  [ -x /etc/init.d/ssh ] && invoke-rc.d ssh restart
+#else
+#  [ -x /etc/init.d/ssh ] && /etc/init.d/ssh restart
+#fi
+
+#DEBHELPER#