Compare commits

...

2 commits

Author SHA1 Message Date
efad854652
cd/exit 2024-09-28 22:14:25 +02:00
a596a8868c
cd/exit 2024-09-28 22:12:09 +02:00
2 changed files with 4 additions and 2 deletions

View file

@ -15,7 +15,8 @@ REMOTE_ROOT="https://deb.debian.org/${DEBIAN_ROOT}"
for dist in "${DISTS[@]}"; do
for section in "${SECTIONS[@]}"; do
cd "${LOCAL_ROOT}/${dist}/${section}"
cd "${LOCAL_ROOT}/${dist}/${section}" ||
echo "${ERROR}"
rm --force "${MISSING}"
wget "${REMOTE_ROOT}/${dist}/${section}/${MISSING}" &>/dev/null ||
echo "${ERROR}"

View file

@ -1,6 +1,7 @@
#! /usr/bin/env bash
FILE="$(realpath "${BASH_SOURCE[0]}")"
cd "$(dirname "${FILE}")"
cd "$(dirname "${FILE}")" ||
exit
ROOT='root/msys2'