Fixed bug in bash script

This commit is contained in:
JPyke3 2020-09-10 10:01:14 +10:00 committed by Jacob Pyke
parent 6258eab3d9
commit 24f678d453
3 changed files with 9 additions and 2 deletions

5
Scripts/repo-all-editions.sh Normal file → Executable file
View File

@ -1,12 +1,13 @@
#!/bin/bash
for f in ../manjaro; do
for f in ../manjaro/*; do
if [ -d "$f" ]; then
cp user-repos.conf ../manjaro/"$f"
fi
done
for f in ../community; do
for f in ../community/*; do
if [ -d "$f" ]; then
cp user-repos.conf ../manjaro/"$f"
fi

View File

@ -0,0 +1,3 @@
[mbp]
SigLevel = Optional TrustAll
Server = https://jacobpyke.xyz/archlinux/$repo/$arch

3
manjaro/user-repos.conf Normal file
View File

@ -0,0 +1,3 @@
[mbp]
SigLevel = Optional TrustAll
Server = https://jacobpyke.xyz/archlinux/$repo/$arch