Browse Source

[TASK] add skel stuff and fix script

master
Dor dicke Gind 2 years ago
parent
commit
0ee799f207
  1. 9
      .gitmodules
  2. 1
      gind-etc-skel-basic
  3. 1
      gind-etc-skel-dirty
  4. 1
      gind-etc-skel-games
  5. 22
      gind-repo-makepkg.sh

9
.gitmodules vendored

@ -64,3 +64,12 @@
[submodule "wine-staging-opt-3.21"]
path = wine-staging-opt-3.21
url = https://gindserver.duckdns.org/gitea/drdickgind/wine-staging-opt-3.21.git
[submodule "gind-etc-skel-dirty"]
path = gind-etc-skel-dirty
url = https://gindserver.duckdns.org/gitea/drdickgind/pkgbuild-gind-etc-skel-dirty.git
[submodule "gind-etc-skel-basic"]
path = gind-etc-skel-basic
url = https://gindserver.duckdns.org/gitea/drdickgind/pkgbuild-gind-etc-skel-basic.git
[submodule "gind-etc-skel-games"]
path = gind-etc-skel-games
url = https://gindserver.duckdns.org/gitea/drdickgind/pkgbuild-gind-etc-skel-games.git

1
gind-etc-skel-basic

@ -0,0 +1 @@
Subproject commit 250eb780960a3760290b9f7f7a01e96871c57e30

1
gind-etc-skel-dirty

@ -0,0 +1 @@
Subproject commit a4c3e79c7de8801accd451a99a09cffa31fd48f9

1
gind-etc-skel-games

@ -0,0 +1 @@
Subproject commit 0571145de3efd8afe006ec28a059979669926b30

22
gind-repo-makepkg.sh

@ -2,23 +2,5 @@
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
cd $SCRIPT_DIR
git submodule update --recursive
git submodule foreach '
#creepy linux magic 2>&1 also pipes through stderr, not needed anymore
#isUpToDate=$(git fetch -v 2>&1 | grep "aktuell")
#isUpToDate=""
expireTimeNotifyOSD=10000
currentId=1
tmpFile=/tmp/currentNotifyId
# gets the current notify id from our tmp file
if [ -s $tmpFile ]; then
currentId=$(cat $tmpFile)
fi
notify-send "Start makepkg for $name" -p -t $expireTimeNotifyOSD -r $currentId -i software-update-available > $tmpFile
#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
cp -n $name*.pkg.tar.zst /mnt/pi-usb-ssd/gind-repo/x86_64/
'
git submodule update --remote
git submodule foreach "../makepkg-and-update-db.sh $1"
Loading…
Cancel
Save