Update stormux repository url. It should now use the easier to manage repository.

This commit is contained in:
Storm Dragon
2025-08-16 17:14:59 -04:00
parent 985d8bc7b9
commit 7fc6dd25e4

View File

@@ -29,14 +29,14 @@ attention() {
add_stormux_repo() {
# Check if StormUX repository is already configured
if grep -q "aarch64.stormux.org" /etc/pacman.conf; then
if grep -q "packages.stormux.org" /etc/pacman.conf; then
return 0
fi
infobox "Adding StormUX repository and importing signing key..."
# Import the repository signing key
if ! curl -s https://aarch64.stormux.org/stormux-repo.pub | sudo "${sudoFlags[@]}" pacman-key --add -; then
if ! curl -s https://packages.stormux.org/stormux-repo.pub | sudo "${sudoFlags[@]}" pacman-key --add -; then
msgbox "Failed to download StormUX repository key."
return 1
fi
@@ -57,7 +57,7 @@ add_stormux_repo() {
if [[ "$line" =~ ^\[.*\]$ ]] && [[ ! "$line" =~ ^\[(core|extra|multilib|testing|multilib-testing)\]$ ]] && [[ "$added_repo" == false ]]; then
echo "[stormux]" >> "$temp_conf"
echo "SigLevel = Required" >> "$temp_conf"
echo "Server = https://aarch64.stormux.org/" >> "$temp_conf"
echo "Server = https://packages.stormux.org/\$repo/\$arch" >> "$temp_conf"
echo "" >> "$temp_conf"
added_repo=true
fi
@@ -69,7 +69,7 @@ add_stormux_repo() {
echo "" >> "$temp_conf"
echo "[stormux]" >> "$temp_conf"
echo "SigLevel = Required" >> "$temp_conf"
echo "Server = https://aarch64.stormux.org/\$repo-\$arch" >> "$temp_conf"
echo "Server = https://packages.stormux.org/\$repo/\$arch" >> "$temp_conf"
fi
# Replace the original pacman.conf