update install scripts
* automate more of the nginx setup * automate the dnsmasq setup
This commit is contained in:
11
install/link.sh
Executable file
11
install/link.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOTFILES=$HOME/.dotfiles
|
||||
|
||||
echo "creating symlinks"
|
||||
linkables=$( ls -1 -d **/*.symlink )
|
||||
for file in $linkables ; do
|
||||
target="$HOME/.$( basename $file ".symlink" )"
|
||||
echo "creating symlink for $file"
|
||||
ln -s $DOTFILES/$file $target
|
||||
done
|
||||
Reference in New Issue
Block a user