Install.sh work.
This commit is contained in:
parent
2efb018551
commit
9b2216be35
32
install.sh
32
install.sh
@ -1,12 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
GLOBIGNORE=".:.."
|
||||||
|
|
||||||
DIR=$(dirname $(readlink -f $0));
|
DIR=$(dirname $(readlink -f $0));
|
||||||
|
|
||||||
DIRS="/boot/syslinux /etc/lightdm /etc/X11/xorg.conf.d /etc/skel /usr/share/wallpapers"
|
DIRS="/boot/syslinux /etc /etc/lightdm /etc/X11/xorg.conf.d /etc/skel /usr/share/wallpapers"
|
||||||
|
|
||||||
for dir in $DIRS; do
|
for dir in $DIRS; do
|
||||||
if [ -d "$DIR$dir" ]; then
|
if [ -d "$DIR$dir" ]; then
|
||||||
for script in $DIR$dir/*; do
|
for script in $DIR$dir/*; do
|
||||||
echo "Loading xinit script $script"
|
echo $script
|
||||||
|
|
||||||
|
if [ -d "$script" ]; then
|
||||||
|
echo "$script is a directory"
|
||||||
|
continue;
|
||||||
|
fi
|
||||||
|
|
||||||
filename=$(basename $script)
|
filename=$(basename $script)
|
||||||
|
|
||||||
@ -19,24 +26,3 @@ for dir in $DIRS; do
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
#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
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user