diff --git a/.gitignore b/.gitignore index 68269c54..f64a72db 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -# links -mc-share/skins/dracula.ini -mc-share/skins/dracula256.ini +# Ignore repositories +jstmbash +dracula-mc diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index efef7c2d..00000000 --- a/.gitmodules +++ /dev/null @@ -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 diff --git a/btop/.gitignore b/btop/.gitignore index 76fc0ad7..28cf088d 100644 --- a/btop/.gitignore +++ b/btop/.gitignore @@ -1 +1,2 @@ +# Ignore log btop.log diff --git a/copyq/.gitignore b/copyq/.gitignore index ce81d61f..0265ca59 100644 --- a/copyq/.gitignore +++ b/copyq/.gitignore @@ -1,3 +1,4 @@ +# Ignore files that probably shouldn't be in a repository copyq.pub copyq_geometry.ini copyq_tabs.ini diff --git a/install.sh b/install.sh index 1c4b1d0b..27aac3d0 100755 --- a/install.sh +++ b/install.sh @@ -11,8 +11,21 @@ function link() { fi } -# update submodules -git submodule update --init --recursive +# update/clone repositories +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 mkdir -p "${HOME}/.config" "${HOME}/.local/share/mc/skins" "${HOME}/.local/bin" diff --git a/jstmbash b/jstmbash index 93f8cc06..54e22288 160000 --- a/jstmbash +++ b/jstmbash @@ -1 +1 @@ -Subproject commit 93f8cc06d15511df99f526e156fd229303382c15 +Subproject commit 54e2228857350b3b0cc67b9a0254426a47709e3e diff --git a/mc-share/skins/dracula.ini b/mc-share/skins/dracula.ini new file mode 120000 index 00000000..5d1e8ccf --- /dev/null +++ b/mc-share/skins/dracula.ini @@ -0,0 +1 @@ +/home/jeremystartm/Code/JeremyStarTM/punktdateien/dracula-mc/skins/dracula.ini \ No newline at end of file diff --git a/mc-share/skins/dracula256.ini b/mc-share/skins/dracula256.ini new file mode 120000 index 00000000..7edc2c5d --- /dev/null +++ b/mc-share/skins/dracula256.ini @@ -0,0 +1 @@ +/home/jeremystartm/Code/JeremyStarTM/punktdateien/dracula-mc/skins/dracula256.ini \ No newline at end of file