Some changes to install script to match dev env

This commit is contained in:
Sameer Rahmani 2013-09-24 16:36:47 +03:30
parent b751fcbb5e
commit fdd8384d72
2 changed files with 7 additions and 5 deletions

View File

@ -6,3 +6,6 @@
* New Plugings * New Plugings
** TODO Add hs-minor-mode to the plugin mojor mode load hook ** TODO Add hs-minor-mode to the plugin mojor mode load hook
** TODO add the custom snippets path to yasnippet load path ** TODO add the custom snippets path to yasnippet load path
* Release
** TODO remove '-dev' suffix from executable filename

View File

@ -80,7 +80,7 @@ while [ "$condition" == "1" ] ; do
dotemacs=~/.kuso_dev dotemacs=~/.kuso_dev
repo=~/.kuso.d_dev repo=~/.kuso.d_dev
condition="0" condition="0"
executable=kuso-dev executable=kuso
fi fi
if [ "$standalone" == "n" ] if [ "$standalone" == "n" ]
@ -88,8 +88,7 @@ while [ "$condition" == "1" ] ; do
dotemacs=~/.emacs dotemacs=~/.emacs
repo=~/.emacs.d repo=~/.emacs.d
condition="0" condition="0"
executable=kuso
executable=emacs-dev
fi fi
done done
@ -127,7 +126,7 @@ fi
if [ "$standalone" == "" -o "$standalone" == "y" ] if [ "$standalone" == "" -o "$standalone" == "y" ]
then then
info "Creating a link in globe PATH . . ." info "Creating a link in globe PATH . . ."
sudo ln -s $repo/$executable /usr/bin/$executable sudo ln -s $repo/$executable /usr/bin/$executable-dev
chmod +x $repo/$executable chmod +x $repo/$executable
fi fi
@ -147,4 +146,4 @@ sed "s,--REPO--,$repo,mg" -i $dotemacs
# `which emacs` --batch -l $dotemacs # `which emacs` --batch -l $dotemacs
#fi #fi
echo -e "\nNow run `kuso` and have fun ;)" echo -e "\nNow run 'kuso' and have fun ;)"