Update install.sh

This commit is contained in:
JeremyStar™ 2023-12-08 18:47:34 +01:00
parent be7331e140
commit 0d1a69d3b7
8 changed files with 23 additions and 13 deletions

6
.gitignore vendored
View file

@ -1,3 +1,3 @@
# links # Ignore repositories
mc-share/skins/dracula.ini jstmbash
mc-share/skins/dracula256.ini dracula-mc

7
.gitmodules vendored
View file

@ -1,7 +0,0 @@
[submodule "dracula-mc"]
path = dracula-mc
url = https://github.com/dracula/midnight-commander.git
[submodule "jstmbash"]
path = jstmbash
url = https://git.staropensource.de/JeremyStarTM/jstmbash
branch = develop

1
btop/.gitignore vendored
View file

@ -1 +1,2 @@
# Ignore log
btop.log btop.log

1
copyq/.gitignore vendored
View file

@ -1,3 +1,4 @@
# Ignore files that probably shouldn't be in a repository
copyq.pub copyq.pub
copyq_geometry.ini copyq_geometry.ini
copyq_tabs.ini copyq_tabs.ini

View file

@ -11,8 +11,21 @@ function link() {
fi fi
} }
# update submodules # update/clone repositories
git submodule update --init --recursive if [ ! -d "dracula-mc" ]; then
git clone "https://github.com/dracula/midnight-commander.git" dracula-mc
else
cd dracula-mc
git pull
cd ..
fi
if [ ! -d "jstmbash" ]; then
git clone "https://git.staropensource.de/JeremyStarTM/jstmbash.git" jstmbash
else
cd jstmbash
git pull
cd ..
fi
# create directories # create directories
mkdir -p "${HOME}/.config" "${HOME}/.local/share/mc/skins" "${HOME}/.local/bin" mkdir -p "${HOME}/.config" "${HOME}/.local/share/mc/skins" "${HOME}/.local/bin"

@ -1 +1 @@
Subproject commit 93f8cc06d15511df99f526e156fd229303382c15 Subproject commit 54e2228857350b3b0cc67b9a0254426a47709e3e

1
mc-share/skins/dracula.ini Symbolic link
View file

@ -0,0 +1 @@
/home/jeremystartm/Code/JeremyStarTM/punktdateien/dracula-mc/skins/dracula.ini

View file

@ -0,0 +1 @@
/home/jeremystartm/Code/JeremyStarTM/punktdateien/dracula-mc/skins/dracula256.ini