up
This commit is contained in:
parent
49a710a8d3
commit
4f8b57bab8
2 changed files with 23 additions and 62 deletions
|
@ -1,52 +0,0 @@
|
|||
#!/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=(
|
||||
alci-calamares-config/
|
||||
alci-calamares-config-btrfs/
|
||||
alci-calamares-config-dev/
|
||||
alci-calamares-config-hardened/
|
||||
alci-calamares-config-lts/
|
||||
alci-calamares-config-pure/
|
||||
alci-calamares-config-xanmod/
|
||||
alci-calamares-config-zen/
|
||||
alci-dwm/
|
||||
alci-dwm-nemesis/
|
||||
alci-iso/
|
||||
alci-iso-dev/
|
||||
alci-iso-hardened/
|
||||
alci-iso-lts/
|
||||
alci-iso-pure/
|
||||
alci-iso-xanmod/
|
||||
alci-iso-zen/
|
||||
alci-pkgbuild/
|
||||
alci_repo/
|
||||
nemesis-wallpapers/
|
||||
)
|
||||
|
||||
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 https://github.com/arch-linux-calamares-installer/$name
|
||||
echo "#################################################"
|
||||
echo "################ "$(basename `pwd`)" done"
|
||||
echo "#################################################"
|
||||
done
|
|
@ -1,20 +1,34 @@
|
|||
#!/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
|
||||
# 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.
|
||||
#
|
||||
##################################################################################################################
|
||||
# change a commit comment
|
||||
# git commit --amend -m "more info"
|
||||
# git push --force origin
|
||||
#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
|
||||
|
@ -49,7 +63,6 @@ if grep -q master .git/config; then
|
|||
git push -u origin master
|
||||
fi
|
||||
|
||||
|
||||
echo "################################################################"
|
||||
echo "################### Git Push Done ######################"
|
||||
echo "################################################################"
|
Loading…
Reference in a new issue