initial commit

This commit is contained in:
2026-03-18 03:29:25 +08:00
commit 146c2c5f35
37 changed files with 1445 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#!/usr/bin/env bash
set -e
echo "================================="
echo " Liara OpenSUSE Mirror Setup"
echo "================================="
if ! command -v zypper &> /dev/null; then
echo "This script only supports OpenSUSE."
exit 1
fi
echo
echo "[1/2] Adding Liara repository..."
zypper addrepo \
--priority 100 \
--no-gpgcheck \
https://linux-mirror.liara.ir/repository/opensuse/distribution/leap/\$releasever/repo/oss/ \
opensuse-oss
echo
echo "[2/2] Refreshing repositories..."
zypper refresh
echo
echo "OpenSUSE mirror configured successfully."