Update stormux repository url. It should now use the easier to manage repository.
This commit is contained in:
@@ -29,14 +29,14 @@ attention() {
|
|||||||
|
|
||||||
add_stormux_repo() {
|
add_stormux_repo() {
|
||||||
# Check if StormUX repository is already configured
|
# 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
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
infobox "Adding StormUX repository and importing signing key..."
|
infobox "Adding StormUX repository and importing signing key..."
|
||||||
|
|
||||||
# Import the repository 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."
|
msgbox "Failed to download StormUX repository key."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
@@ -57,7 +57,7 @@ add_stormux_repo() {
|
|||||||
if [[ "$line" =~ ^\[.*\]$ ]] && [[ ! "$line" =~ ^\[(core|extra|multilib|testing|multilib-testing)\]$ ]] && [[ "$added_repo" == false ]]; then
|
if [[ "$line" =~ ^\[.*\]$ ]] && [[ ! "$line" =~ ^\[(core|extra|multilib|testing|multilib-testing)\]$ ]] && [[ "$added_repo" == false ]]; then
|
||||||
echo "[stormux]" >> "$temp_conf"
|
echo "[stormux]" >> "$temp_conf"
|
||||||
echo "SigLevel = Required" >> "$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"
|
echo "" >> "$temp_conf"
|
||||||
added_repo=true
|
added_repo=true
|
||||||
fi
|
fi
|
||||||
@@ -69,7 +69,7 @@ add_stormux_repo() {
|
|||||||
echo "" >> "$temp_conf"
|
echo "" >> "$temp_conf"
|
||||||
echo "[stormux]" >> "$temp_conf"
|
echo "[stormux]" >> "$temp_conf"
|
||||||
echo "SigLevel = Required" >> "$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
|
fi
|
||||||
|
|
||||||
# Replace the original pacman.conf
|
# Replace the original pacman.conf
|
||||||
|
Reference in New Issue
Block a user