From 9270910c58a5d908c5c2adf4272ca95aba713298 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Fri, 8 Dec 2023 17:38:01 +0100 Subject: [PATCH] Update install.sh --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 1da892a1..06f4dd01 100755 --- a/install.sh +++ b/install.sh @@ -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"