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