From f8fc6f892840226792860d1c02a0c59b4960b859 Mon Sep 17 00:00:00 2001 From: Dragan Dosen Date: Wed, 6 Feb 2008 15:31:40 +0000 Subject: [PATCH] r8: * cp_check_and_sed - limits, ne treba matchirati kraj linije. --- debian/postinst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/postinst b/debian/postinst index fb5fed7..ee98700 100755 --- a/debian/postinst +++ b/debian/postinst @@ -128,15 +128,15 @@ for SAPI in apache apache2 cgi cli; do if [ -f "$ini_file" ]; then - cp_check_and_sed "^[[:space:]]*upload_max_filesize[[:space:]]*=[[:space:]]*2M$" \ + cp_check_and_sed "^[[:space:]]*upload_max_filesize[[:space:]]*=[[:space:]]*2M" \ 's/^[[:space:]]*upload_max_filesize[[:space:]]*=.*/upload_max_filesize = 256M/' \ "$ini_file" && need_restart=1 || true - cp_check_and_sed "^[[:space:]]*post_max_size[[:space:]]*=[[:space:]]*8M$" \ + cp_check_and_sed "^[[:space:]]*post_max_size[[:space:]]*=[[:space:]]*8M" \ 's/^[[:space:]]*post_max_size[[:space:]]*=.*/post_max_size = 256M/' \ "$ini_file" && need_restart=1 || true - cp_check_and_sed "^[[:space:]]*memory_limit[[:space:]]*=[[:space:]]*16M$" \ + cp_check_and_sed "^[[:space:]]*memory_limit[[:space:]]*=[[:space:]]*8M" \ 's/^[[:space:]]*memory_limit[[:space:]]*=.*/memory_limit = 256M/' \ "$ini_file" && need_restart=1 || true fi -- 1.7.10.4