First commit of install.sh script.

This commit is contained in:
Linus Miller 2015-11-15 19:11:21 +01:00
parent 85401c7b80
commit ccaf185953

38
install.sh Executable file
View File

@ -0,0 +1,38 @@
#!/bin/bash
DIR=$(dirname $(readlink -f $0));
lightdm_src="/etc/lightdm"
if [ -d "$DIR$lightdm_src" ]; then
for script in $DIR$lightdm_src/*; do
echo "Loading xinit script $script"
filename=$(basename $script)
if [ -e "$lightdm_src/$filename" ]; then
echo "File exists";
fi
#if [ -x "$script" -a ! -d "$script" ]; then
# . "$script"
#fi
done
fi
#echo 'Creating link to local zshrc'
#ln -s ~/archlinux-installation/zshrc.local ~/.zshrc.local
#
#echo 'link vimrc'
#ln -s ~/dotfiles/vimrc ~/.vimrc
#echo 'installing vundle'
#git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
#
#echo 'linking tmux'
#ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
#
#echo 'linking ssh config'
#ln -s ~/dotfiles/ssh/config ~/.ssh/config
#
#echo "linking gitignore"
#ln -s ~/dotfiles/gitignore ~/.gitignore
#
#echo "linking zshenv"
#ln -s ~/dotfiles/zshenv ~/.zshenv