[Groonga-commit] groonga/groonga [master] apt: fix wrong file stat check

Back to archive index

null+****@clear***** null+****@clear*****
2012年 4月 25日 (水) 16:30:11 JST


Kouhei Sutou	2012-04-25 16:30:11 +0900 (Wed, 25 Apr 2012)

  New Revision: a491c060b055723e7076f5f5fd3330f37f4904ef

  Log:
    apt: fix wrong file stat check

  Modified files:
    packages/apt/build-deb.sh

  Modified: packages/apt/build-deb.sh (+1 -1)
===================================================================
--- packages/apt/build-deb.sh    2012-04-25 16:11:21 +0900 (7dcc481)
+++ packages/apt/build-deb.sh    2012-04-25 16:30:11 +0900 (3b7a6f8)
@@ -26,7 +26,7 @@ distribution=$(lsb_release --id --short)
 code_name=$(lsb_release --codename --short)
 
 security_list=/etc/apt/sources.list.d/security.list
-if [ ! -d "${security_list}" ]; then
+if [ ! -f "${security_list}" ]; then
     case ${distribution} in
 	Debian)
 	    if [ "${code_name}" = "sid" ]; then




Groonga-commit メーリングリストの案内
Back to archive index