Make createrepo noisier
This commit is contained in:
@@ -670,6 +670,7 @@ install_mc_repo() {
|
|||||||
|
|
||||||
"${PKG_UPDATE[@]}" || { err "Package update failed!"; return 1; }
|
"${PKG_UPDATE[@]}" || { err "Package update failed!"; return 1; }
|
||||||
|
|
||||||
|
echo "Installing $MC_PKG"
|
||||||
if ! install_package \
|
if ! install_package \
|
||||||
--no-install-check \
|
--no-install-check \
|
||||||
--allow-downgrades \
|
--allow-downgrades \
|
||||||
@@ -1138,7 +1139,7 @@ run_createrepo() {
|
|||||||
[[ -d $CREATEREPO_WEBROOT/repodata ]] && cr_cmd+=(--update)
|
[[ -d $CREATEREPO_WEBROOT/repodata ]] && cr_cmd+=(--update)
|
||||||
|
|
||||||
if ! execute "${cr_cmd[@]}"; then
|
if ! execute "${cr_cmd[@]}"; then
|
||||||
cr_cmd=(sudo createrepo -q "$CREATEREPO_WEBROOT")
|
cr_cmd=(sudo createrepo "$CREATEREPO_WEBROOT")
|
||||||
[[ -d $CREATEREPO_WEBROOT/repodata ]] && cr_cmd+=(--update)
|
[[ -d $CREATEREPO_WEBROOT/repodata ]] && cr_cmd+=(--update)
|
||||||
|
|
||||||
if ! (execute "${cr_cmd[@]}" ||
|
if ! (execute "${cr_cmd[@]}" ||
|
||||||
|
|||||||
Reference in New Issue
Block a user