Skip to content

Commit e6a22d5

Browse files
committed
Initialise 02- and 03-main repos
1 parent 7d76ee3 commit e6a22d5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

deb-get

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,12 @@ function init_repos() {
621621
if [ ! -e "${ETC_DIR}/01-main.repo" ]; then
622622
${ELEVATE} tee "${ETC_DIR}/01-main.repo" <<<"${MAIN_REPO_URL}" >/dev/null
623623
fi
624+
if [ ! -e "${ETC_DIR}/02-main.repo" ]; then
625+
${ELEVATE} sed 's/01/02/' "${ETC_DIR}/01-main.repo" > "${ETC_DIR}/02-main.repo"
626+
fi
627+
if [ ! -e "${ETC_DIR}/03-main.repo" ]; then
628+
${ELEVATE} sed 's/01/03/' "${ETC_DIR}/01-main.repo" > "${ETC_DIR}/03-main.repo"
629+
fi
624630

625631
for REPO in $(find "${ETC_DIR}" -maxdepth 1 -name "*.repo" ! -name 00-builtin.repo ! -name 99-local.repo -type f -printf "%f\n" | sed "s/.repo$//"); do
626632
if [ ! -e "${ETC_DIR}/${REPO}.d" ]; then
@@ -1526,7 +1532,7 @@ fi
15261532

15271533
export CACHE_DIR="/var/cache/deb-get"
15281534
readonly ETC_DIR="/etc/deb-get"
1529-
readonly MAIN_REPO_URL="https://raw.githubusercontent.com/wimpysworld/deb-get/main/01-main"
1535+
readonly MAIN_REPO_URL="https://raw.githubusercontent.com/philclifford/deb-get/split_github_repos/01-main"
15301536

15311537
readonly USER_AGENT="Mozilla/5.0 (X11; Linux ${HOST_CPU}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36"
15321538
readonly USER_HOME="${HOME}"

0 commit comments

Comments
 (0)