Add temp debug

This commit is contained in:
2024-10-04 00:54:17 -04:00
parent aa6a0cc7f2
commit 21c3cf49d4

View File

@@ -1684,7 +1684,6 @@ main() {
fi fi
set_mc_version set_mc_version
((DEBUG)) && declare -p
if (( UNINSTALL_SWITCH )); then if (( UNINSTALL_SWITCH )); then
if ask_ok "Do you really want to uninstall JRiver Media Center?"; then if ask_ok "Do you really want to uninstall JRiver Media Center?"; then
@@ -1741,6 +1740,7 @@ main() {
if (( BUILD_SWITCH )) && [[ $ID != "arch" ]]; then if (( BUILD_SWITCH )) && [[ $ID != "arch" ]]; then
install_package "wget" install_package "wget"
[[ -d $OUTPUT_DIR/SOURCES ]] || execute mkdir -p "$OUTPUT_DIR/SOURCES" [[ -d $OUTPUT_DIR/SOURCES ]] || execute mkdir -p "$OUTPUT_DIR/SOURCES"
((DEBUG)) && declare -p
acquire_deb || { err "Could not download Media Center DEB package"; return 1; } acquire_deb || { err "Could not download Media Center DEB package"; return 1; }
if [[ $BUILD_TARGET =~ (centos|fedora|suse) || $REPO_TARGET =~ (centos|fedora|suse) ]]; then if [[ $BUILD_TARGET =~ (centos|fedora|suse) || $REPO_TARGET =~ (centos|fedora|suse) ]]; then