ugh
This commit is contained in:
parent
b3dc3ad8b9
commit
072f768ebd
|
@ -27,8 +27,6 @@ main() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build_pkg "$package" "$repo_name"
|
|
||||||
|
|
||||||
if [[ ! -d "${cfg_repos_dir}/${repo_name}" ]]; then
|
if [[ ! -d "${cfg_repos_dir}/${repo_name}" ]]; then
|
||||||
echo "Creating ${cfg_repos_dir}/${repo}"
|
echo "Creating ${cfg_repos_dir}/${repo}"
|
||||||
mkdir -p "${cfg_repos_dir}/${repo}" || {
|
mkdir -p "${cfg_repos_dir}/${repo}" || {
|
||||||
|
@ -36,6 +34,8 @@ main() {
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
build_pkg "$package" "$repo_name"
|
||||||
|
|
||||||
cd "${cfg_repos_dir}/${repo_name}"
|
cd "${cfg_repos_dir}/${repo_name}"
|
||||||
repo-add -n "${repo_name}.db.tar.gz" "$package"*.pkg.tar.xz
|
repo-add -n "${repo_name}.db.tar.gz" "$package"*.pkg.tar.xz
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user