Manje izmjene za pregledniji ispis informacija korisniku.
[php5-cn.git] / debian / postinst
index 8229fc3..da2a128 100755 (executable)
@@ -281,14 +281,15 @@ if [ "$RET" != "true" ]; then
         for ext in $php4_ext; do
             if [ "$(echo $php5_ext | egrep $ext)" = "" ]; then
                 php5_ext_mis="\n${ext}${php5_ext_mis}"
-            if
+            fi
         done
 
         # Some PHP5 extensions are not active.
         if [ -n "$php5_ext_mis" ]; then
             db_fset php5-cn/extensions seen false
             db_title php5-cn - konfiguracija
-            db_subst php5-cn/extensions php5_extensions "${php5_ext_mis}"
+            db_capb escape
+            db_subst php5-cn/extensions php5_extensions "${php5_ext_mis#*\n}"
             db_input critical php5-cn/extensions || true
             db_go || true
         fi