mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-23 19:19:50 +00:00
12 lines
225 B
Bash
12 lines
225 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
_link() {
|
|
source=$1
|
|
target=$2
|
|
if [ ! -e $target ]; then
|
|
_run "[link] Install $target" ln -s $source $target
|
|
else
|
|
echo "[link] $target already installed, skipping."
|
|
fi
|
|
}
|