Reinstall package

This commit is contained in:
2025-04-24 22:31:30 -04:00
parent a1855c87f5
commit e0d97985cc

View File

@@ -675,6 +675,7 @@ install_mc_repo() {
--no-install-check \
--allow-downgrades \
--no-gpg-check \
--reinstall \
"$MC_PKG"; then
err "Package install failed!"
return 1
@@ -704,7 +705,7 @@ acquire_deb() {
if [[ -f $MC_DEB ]]; then
if [[ $(stat -c%s "$MC_DEB") -lt 10000000 ]]; then
echo "Removing existing DEB under 10MB: $MC_DEB"
execute rm "$MC_DEB"
execute rm -f "$MC_DEB"
else
echo "Using existing DEB: $MC_DEB"
return 0