Clobber repo files (more automatic)
This commit is contained in:
@@ -672,9 +672,8 @@ install_mc_repo() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ -f $repo_file ]]; then
|
# Remove existing repository file if it exists
|
||||||
ask_ok "Replace existing $repo_file repository file" && execute sudo rm -f "$repo_file"
|
[[ -f $repo_file ]] && execute sudo rm -f "$repo_file"
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Adding MC repository file: $repo_file"
|
echo "Adding MC repository file: $repo_file"
|
||||||
debug "$repo_text"
|
debug "$repo_text"
|
||||||
|
|||||||
Reference in New Issue
Block a user