#!/bin/sh
set -e

# Remove loong64 from is_ports_architecture function to avoid using ports mirror
sed -i '/is_ports_architecture/,/\}/s/loong64|//' /usr/lib/base-installer/library.sh
