From 5547086047eaeaaf9a88a7e5638c687801493355 Mon Sep 17 00:00:00 2001 From: Dor dicke Gind Date: Tue, 5 Jul 2022 00:10:38 +0200 Subject: [PATCH] add script + other stuff --- .gitmodules | 6 +++--- cairo-dock-git | 1 - cairo-dock-git-patched | 1 + gind-repo-makepkg.sh | 18 ++++++++++++++++++ 4 files changed, 22 insertions(+), 4 deletions(-) delete mode 160000 cairo-dock-git create mode 160000 cairo-dock-git-patched create mode 100755 gind-repo-makepkg.sh diff --git a/.gitmodules b/.gitmodules index f67bece..aa91dd8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,9 +7,6 @@ [submodule "brscan3"] path = brscan3 url = https://aur.archlinux.org/brscan3.git -[submodule "cairo-dock-git"] - path = cairo-dock-git - url = https://aur.archlinux.org/cairo-dock-git.git [submodule "cairo-dock-plug-ins-extras-git"] path = cairo-dock-plug-ins-extras-git url = https://aur.archlinux.org/cairo-dock-plug-ins-extras-git.git @@ -55,3 +52,6 @@ [submodule "gtk3-froggy"] path = gtk3-froggy url = https://gindserver.duckdns.org/gitea/drdickgind/gtk3-froggy.git +[submodule "cairo-dock-git-patched"] + path = cairo-dock-git-patched + url = https://gindserver.duckdns.org/gitea/drdickgind/cairo-dock-git-patched.git diff --git a/cairo-dock-git b/cairo-dock-git deleted file mode 160000 index 69ddf99..0000000 --- a/cairo-dock-git +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 69ddf993bfcf464398087afb46bdad1beab9b159 diff --git a/cairo-dock-git-patched b/cairo-dock-git-patched new file mode 160000 index 0000000..a8e1745 --- /dev/null +++ b/cairo-dock-git-patched @@ -0,0 +1 @@ +Subproject commit a8e1745164141497b9b0087c9db694c4c4fbe4cc diff --git a/gind-repo-makepkg.sh b/gind-repo-makepkg.sh new file mode 100755 index 0000000..8773ac1 --- /dev/null +++ b/gind-repo-makepkg.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +#git submodule update --recursive +git submodule foreach ' + #creepy linux magic 2>&1 also pipes through stderr + #isUpToDate=$(git fetch -v 2>&1 | grep "aktuell") + #isUpToDate="" + if [ $name == "cairo-dock-git" ] + then + echo "Not up to date" + git pull + #fixes issue with makepkg ... git repo is not a clone of ... + unset GIT_DIR + makepkg + repo-add /mnt/pi-usb-ssd/gind-repo/x86_64/gind-repo.db.tar.gz $name*.pkg.tar.zst + mv $name*.pkg.tar.zst /mnt/pi-usb-ssd/gind-repo/x86_64/ + fi +' \ No newline at end of file