Couple of bugs fixed in installer

This commit is contained in:
Sameer Rahmani 2013-07-22 16:54:34 +04:30
parent be3f19c6fb
commit c14d0ad401
2 changed files with 7 additions and 6 deletions

View File

@ -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)))
)
)

View File

@ -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 <lxsameer@gnu.org>\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 ;)"