This commit is contained in:
zj
2025-11-23 16:33:17 +08:00
commit b347e4894d
37 changed files with 148 additions and 0 deletions

37
1-get-all-alci-gits-v1.sh Executable file
View File

@@ -0,0 +1,37 @@
#!/bin/bash
#
##################################################################################################################
# Written to be used on 64 bits computers
# Author : Erik Dubois
# Website : http://www.erikdubois.be
##################################################################################################################
##################################################################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
##################################################################################################################
echo "This gets all the existing githubs at once"
echo "Fill the array with the original folders first"
# use ls -d */ > list to get the list of the created githubs and copy/paste in
directories=(
tms-calamares-config/
tms-grub-theme/
tms-arch-linux-calamares-installer/
tms-calamares/
custompkgs/
)
count=0
for name in "${directories[@]}"; do
count=$[count+1]
tput setaf 1;echo "Github "$count;tput sgr0;
# if there is no folder then make one
git clone http://192.168.10.207:3000/zj/$name
echo "#################################################"
echo "################ "$(basename `pwd`)" done"
echo "#################################################"
done

68
up+.sh Executable file
View File

@@ -0,0 +1,68 @@
#!/bin/bash
#set -e
##################################################################################################################
# Author : Erik Dubois
# Website : https://www.erikdubois.be
# Website : https://www.alci.online
# Website : https://www.ariser.eu
# Website : https://www.arcolinux.info
# Website : https://www.arcolinux.com
# Website : https://www.arcolinuxd.com
# Website : https://www.arcolinuxb.com
# Website : https://www.arcolinuxiso.com
# Website : https://www.arcolinuxforum.com
##################################################################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
##################################################################################################################
#tput setaf 0 = black
#tput setaf 1 = red
#tput setaf 2 = green
#tput setaf 3 = yellow
#tput setaf 4 = dark blue
#tput setaf 5 = purple
#tput setaf 6 = cyan
#tput setaf 7 = gray
#tput setaf 8 = light blue
##################################################################################################################
# reset - commit your changes or stash them before you merge
# git reset --hard - personal alias - grh
echo "Deleting the work folder if one exists"
[ -d work ] && rm -rf work
# checking if I have the latest files from github
echo "Checking for newer files online first"
git pull
# Below command will backup everything inside the project folder
git add --all .
# Give a comment to the commit if you want
echo "####################################"
echo "Write your commit comment!"
echo "####################################"
read input
# Committing to the local repository with a message containing the time details and commit text
git commit -m "$input"
# Push the local files to github
if grep -q main .git/config; then
echo "Using main"
git push -u origin main
fi
if grep -q master .git/config; then
echo "Using master"
git push -u origin master
fi
echo "################################################################"
echo "################### Git Push Done ######################"
echo "################################################################"

21
update-database.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
#set -e
##################################################################################################################
# Author : Erik Dubois
# Website : https://www.erikdubois.be
# Website : https://www.arcolinux.info
# Website : https://www.arcolinux.com
# Website : https://www.arcolinuxd.com
# Website : https://www.arcolinuxforum.com
##################################################################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
##################################################################################################################
cd x86_64
sh ./update_repo.sh
echo "################################################################"
echo "################### Update Done ######################"
echo "################################################################"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

1
x86_64/custom.db Symbolic link
View File

@@ -0,0 +1 @@
custom.db.tar.gz

BIN
x86_64/custom.db.tar.gz Normal file

Binary file not shown.

1
x86_64/custom.files Symbolic link
View File

@@ -0,0 +1 @@
custom.files.tar.gz

BIN
x86_64/custom.files.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

10
x86_64/update_repo.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
rm custom*
echo "repo-add"
repo-add -n -R custom.db.tar.gz *.pkg.tar.zst*
echo "####################################"
echo "Repo Updated!!"
echo "####################################"

10
x86_64/update_repo.sh~ Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
rm custom*
echo "repo-add"
repo-add -n -s -R custom.db.tar.gz *.pkg.tar.zst*
echo "####################################"
echo "Repo Updated!!"
echo "####################################"