From c14d0ad401bcfc667767f128b7d9c89515ac399b Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Mon, 22 Jul 2013 16:54:34 +0430 Subject: [PATCH] Couple of bugs fixed in installer --- conf/dotkuso | 6 ++++-- install.sh | 7 +++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/conf/dotkuso b/conf/dotkuso index 9ae455a..2f6b3b6 100644 --- a/conf/dotkuso +++ b/conf/dotkuso @@ -13,8 +13,10 @@ (with-current-buffer (url-retrieve-synchronously "https://raw.github.com/KusoIDE/el-get/master/el-get-install.el") - (goto-char (point-max)) - (eval-print-last-sexp) + (lambda (s) + (let (el-get-master-branch) + (goto-char (point-max)) + (eval-print-last-sexp))) ) ) diff --git a/install.sh b/install.sh index 5290704..f5354b6 100755 --- a/install.sh +++ b/install.sh @@ -44,7 +44,7 @@ function requirements_check(){ -while getopts u:d:p:f: option +while getopts ":e" option do case "${option}" in @@ -52,7 +52,6 @@ do esac done - # Gathering informations echo -e "\n\033[01;32mKuso IDE\033[00m $VERSION copyright 2010-2013 \033[01;34mSameer Rahmani \033[00m\n\n" @@ -138,7 +137,7 @@ sed "s,--WORKSPACE--,$workspace,mg" -i $dotemacs sed "s,--REPO--,$repo,mg" -i $dotemacs -if [ $mode == "expert"] +if [ $mode == "expert" ] then info "Installing base system . . ." echo "(setq KUSO-INSTALL-MODE \"expert\")" > /tmp/init_kuso_installer.el @@ -148,4 +147,4 @@ else `which emacs` --batch -l $dotemacs fi -echo -e "\nNow you must run the Kuso IDE to download requirements and configuration. Have Fun ;)" +echo -e "\nNow run `kuso` and have fun ;)"