Update install.sh
This commit is contained in:
parent
b98bb50b65
commit
9270910c58
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
# jeremystartm's dotfiles "installer"
|
||||
|
||||
# useful function
|
||||
function link() {
|
||||
if [ -a "${HOME}/${2}" ]; then
|
||||
[[ -n "$VERBOSE_WARNING" ]] && echo ":: Warning: ${2} already exists."
|
||||
|
@ -9,8 +11,12 @@ function link() {
|
|||
fi
|
||||
}
|
||||
|
||||
# update submodules
|
||||
git submodule update --init --recursive
|
||||
|
||||
# create directories
|
||||
mkdir -p "${HOME}/.config" "${HOME}/.local/share/mc/skins"
|
||||
|
||||
# jobrunner
|
||||
link "jobrunner/daemon.sh" ".local/bin/jobrunner"
|
||||
link "jobrunner/runjob.sh" ".local/bin/jobrunner-runjob"
|
||||
|
|
Loading…
Reference in a new issue