From 24f678d4533520f34a1cdeffc43eb87ad06f4c4f Mon Sep 17 00:00:00 2001 From: JPyke3 Date: Thu, 10 Sep 2020 10:01:14 +1000 Subject: [PATCH] Fixed bug in bash script --- Scripts/repo-all-editions.sh | 5 +++-- community/user-repos.conf | 3 +++ manjaro/user-repos.conf | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) mode change 100644 => 100755 Scripts/repo-all-editions.sh create mode 100644 community/user-repos.conf create mode 100644 manjaro/user-repos.conf diff --git a/Scripts/repo-all-editions.sh b/Scripts/repo-all-editions.sh old mode 100644 new mode 100755 index 6ec69cb..2083ea7 --- a/Scripts/repo-all-editions.sh +++ b/Scripts/repo-all-editions.sh @@ -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 diff --git a/community/user-repos.conf b/community/user-repos.conf new file mode 100644 index 0000000..f826bdd --- /dev/null +++ b/community/user-repos.conf @@ -0,0 +1,3 @@ +[mbp] +SigLevel = Optional TrustAll +Server = https://jacobpyke.xyz/archlinux/$repo/$arch diff --git a/manjaro/user-repos.conf b/manjaro/user-repos.conf new file mode 100644 index 0000000..f826bdd --- /dev/null +++ b/manjaro/user-repos.conf @@ -0,0 +1,3 @@ +[mbp] +SigLevel = Optional TrustAll +Server = https://jacobpyke.xyz/archlinux/$repo/$arch