editor/emacs: update cask + remove repo fn dependency

This commit is contained in:
Henrik Lissner 2016-10-30 14:29:34 +01:00
parent e700d6cad5
commit 5a33d0d965
2 changed files with 4 additions and 5 deletions

View file

@ -21,7 +21,7 @@ esac
if [ ! -d "$HOME/.emacs.d" ]; if [ ! -d "$HOME/.emacs.d" ];
then then
repo "hlissner/.emacs.d" "$HOME/.emacs.d" git clone --recursive "hlissner/.emacs.d" "$HOME/.emacs.d"
cd "$HOME/.emacs.d" cd "$HOME/.emacs.d"
make install make install
make snippets make snippets

View file

@ -1,6 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [[ -d ~/.emacs.d ]] [ -d "~/.cask" ] && { cd ~/.cask && git pull }
then [ -d "~/.emacs.d" ] && { cd ~/.emacs.d && make update }
cd ~/.emacs.d && make update
fi