diff --git a/install.sh b/install.sh index f6b7d30..0552dea 100755 --- a/install.sh +++ b/install.sh @@ -8,8 +8,10 @@ if [ -d author ]; then mv author ${REPO_OWNER} fi -if [ -e ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample ]; then - for i in ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample; do +for i in ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample; do + echo $$i; + if [ ! -f "$${i/.sample/}" ]; then cp "$$i" "$${i/.sample/}"; - done -fi + echo $${i/.sample/}; + fi +done