diff --git a/install.sh b/install.sh index 27c9c07..da4583d 100755 --- a/install.sh +++ b/install.sh @@ -7,8 +7,8 @@ VERSION=1.0.0 -remoteconffile="http://raw.github.com/Karajlug/KusoIDE/1.0/conf/dotkuso" -remoteexecutable="http://raw.github.com/Karajlug/KusoIDE/1.0/bin/kuso" +remoteconffile="http://raw.github.com/Karajlug/KusoIDE/master/conf/dotkuso" +remoteexecutable="http://raw.github.com/Karajlug/KusoIDE/master/bin/kuso" conffile=conf/dotkuso @@ -77,8 +77,8 @@ while [ "$condition" == "1" ] ; do if [ "$standalone" == "" -o "$standalone" == "y" ] then standalone="y" - dotemacs=~/.kuso_dev - repo=~/.kuso.d_dev + dotemacs=~/.kuso + repo=~/.kuso.d condition="0" executable=kuso fi @@ -116,17 +116,25 @@ if [ -e $conffile ] then info "Copying init files . . . " cp $conffile $dotemacs - cp bin/$executable $repo/$executable + + if [ "$standalone" == "y" ] + then + cp bin/$executable $repo/$executable + fi else info "Downloading init file and executable . . ." wget $remoteconffile -q -O $dotemacs - wget $remoteexecutable -q -O $repo/$executable + + if [ "$standalone" == "y" ] + then + wget $remoteexecutable -q -O $repo/$executable + fi fi if [ "$standalone" == "" -o "$standalone" == "y" ] then info "Creating a link in globe PATH . . ." - sudo ln -s $repo/$executable /usr/bin/$executable-dev + sudo ln -s $repo/$executable /usr/bin/$executable chmod +x $repo/$executable fi diff --git a/src/kuso-ide.el b/src.old/kuso-ide.el similarity index 100% rename from src/kuso-ide.el rename to src.old/kuso-ide.el diff --git a/src/lib/io.el b/src.old/lib/io.el similarity index 100% rename from src/lib/io.el rename to src.old/lib/io.el diff --git a/src/lib/menu.el b/src.old/lib/menu.el similarity index 100% rename from src/lib/menu.el rename to src.old/lib/menu.el diff --git a/src/lib/modes.el b/src.old/lib/modes.el similarity index 100% rename from src/lib/modes.el rename to src.old/lib/modes.el diff --git a/src/lib/project.el b/src.old/lib/project.el similarity index 100% rename from src/lib/project.el rename to src.old/lib/project.el diff --git a/src/lib/user.el b/src.old/lib/user.el similarity index 100% rename from src/lib/user.el rename to src.old/lib/user.el diff --git a/src/lib/version.el b/src.old/lib/version.el similarity index 100% rename from src/lib/version.el rename to src.old/lib/version.el diff --git a/src/plugins/cproject.el b/src.old/plugins/cproject.el similarity index 100% rename from src/plugins/cproject.el rename to src.old/plugins/cproject.el diff --git a/src/plugins/django.el b/src.old/plugins/django.el similarity index 100% rename from src/plugins/django.el rename to src.old/plugins/django.el diff --git a/src/plugins/nodejs.el b/src.old/plugins/nodejs.el similarity index 100% rename from src/plugins/nodejs.el rename to src.old/plugins/nodejs.el diff --git a/src/templates/c/generic_c/Makefile.tmpl b/src.old/templates/c/generic_c/Makefile.tmpl similarity index 100% rename from src/templates/c/generic_c/Makefile.tmpl rename to src.old/templates/c/generic_c/Makefile.tmpl diff --git a/src/templates/c/generic_c/__project__.c.tmpl b/src.old/templates/c/generic_c/__project__.c.tmpl similarity index 100% rename from src/templates/c/generic_c/__project__.c.tmpl rename to src.old/templates/c/generic_c/__project__.c.tmpl diff --git a/src/templates/c/generic_c/__project__.h.tmpl b/src.old/templates/c/generic_c/__project__.h.tmpl similarity index 100% rename from src/templates/c/generic_c/__project__.h.tmpl rename to src.old/templates/c/generic_c/__project__.h.tmpl diff --git a/src/templates/c/kernel_module/Makefile.tmpl b/src.old/templates/c/kernel_module/Makefile.tmpl similarity index 100% rename from src/templates/c/kernel_module/Makefile.tmpl rename to src.old/templates/c/kernel_module/Makefile.tmpl diff --git a/src/templates/c/kernel_module/__project__.c.tmpl b/src.old/templates/c/kernel_module/__project__.c.tmpl similarity index 100% rename from src/templates/c/kernel_module/__project__.c.tmpl rename to src.old/templates/c/kernel_module/__project__.c.tmpl diff --git a/src/templates/licenses/gpl.tmpl b/src.old/templates/licenses/gpl.tmpl similarity index 100% rename from src/templates/licenses/gpl.tmpl rename to src.old/templates/licenses/gpl.tmpl diff --git a/src/templates/licenses/gpl/COPYING b/src.old/templates/licenses/gpl/COPYING similarity index 100% rename from src/templates/licenses/gpl/COPYING rename to src.old/templates/licenses/gpl/COPYING