From: gn64_jp Date: Tue, 11 Jan 2011 06:14:43 +0000 (+0000) Subject: fix instaration error. X-Git-Url: http://git.osdn.net/view?p=rec10%2Frec10-git.git;a=commitdiff_plain;h=10d9fa0894bbf7f770bd294305aa7cde1ef697f7 fix instaration error. thanks to bsh. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@803 4e526526-5e11-4fc0-8910-f8fd03428081 --- diff --git a/rec10/trunk/src/Makefile.base b/rec10/trunk/src/Makefile.base index 1efbb77..200ac21 100644 --- a/rec10/trunk/src/Makefile.base +++ b/rec10/trunk/src/Makefile.base @@ -20,7 +20,7 @@ install: install -m755 ./rec10 $(DEST)/ if ! [ -f /usr/local/bin/rec10 ]; then ln $(DEST)/rec10 /usr/local/bin;fi chmod 755 /usr/local/bin/rec10 - if ! [ -f /etc/rec10.conf ]; then rm /etc/rec10.conf;fi + if [ -f /etc/rec10.conf ]; then rm /etc/rec10.conf;fi cp ./rec10.conf /etc/rec10.conf if ! [ -d /tmp/rec10 ]; then mkdir -p /tmp/rec10 ;fi chmod 777 /tmp/rec10 diff --git a/rec10/trunk/src/install.sh b/rec10/trunk/src/install.sh index 3222722..7b9d2a8 100644 --- a/rec10/trunk/src/install.sh +++ b/rec10/trunk/src/install.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash SELF_DIR=`dirname $0` cd ${SELF_DIR} export LANG="ja_JP.UTF-8" && python2.6 ./install.py