diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-23 19:29:53 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-23 19:29:53 -0300 |
commit | 99493a15bde1b1c0d2d8f2ccc985da32570aacec (patch) | |
tree | 781b603cf679870510acc33ac98ac7d32e3f9aa6 /db-check-nonfree | |
parent | 30525051311cab57d27dcd4fd42284dc142696e1 (diff) |
rename generic variables
Diffstat (limited to 'db-check-nonfree')
-rwxr-xr-x | db-check-nonfree | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db-check-nonfree b/db-check-nonfree index 6346dbb..666f4d6 100755 --- a/db-check-nonfree +++ b/db-check-nonfree @@ -20,13 +20,13 @@ nonfree=($(cut -d: -f1 "${BLACKLIST_FILE}" | sort -u)) for repo in "${ARCHREPOS[@]}"; do for pkgarch in "${ARCHES[@]}"; do msg2 "%s %s" "$repo" "$pkgarch" - if [ ! -f "${root_dir}/${repo}/os/${pkgarch}/${repo}${DBEXT}" ]; then + if [ ! -f "${root_dir}/${repo}/os/${pkgarch}/${repo}${database_extension_suffixfile}" ]; then continue fi unset dbpkgs unset cleanpkgs cleanpkgs=() - dbpkgs=($(bsdtar -xOf "${root_dir}/${repo}/os/${pkgarch}/${repo}${DBEXT}" | awk '/^%NAME%/{getline;print}' | sort -u )) + dbpkgs=($(bsdtar -xOf "${root_dir}/${repo}/os/${pkgarch}/${repo}${database_extension_suffixfile}" | awk '/^%NAME%/{getline;print}' | sort -u )) for pkgname in "${dbpkgs[@]}"; do if in_array "${pkgname}" "${nonfree[@]}"; then cleanpkgs+=("${pkgname}") |