Skip to content

Commit

Permalink
FIX: void install fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alealexpro100 committed Jan 31, 2023
1 parent f53961e commit ee18af7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/distr/voidlinux/distr_options.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [[ $LIVE_MODE == "0" ]]; then
read_param "" "$M_ARCH_ENTER" "$void_arch" arch menu_var "$(gen_menu < <(echo -e "x86_64\ni686\naarch64\narmv6l\narmv7l"))"
read_param "" "$M_ARCH_ENTER" "$void_arch" arch menu_var "$(gen_menu < <(echo -e "x86_64\naarch64\narmv6l\narmv7l"))"
else
add_var "declare -gx" arch "$void_arch"
fi
Expand Down
2 changes: 1 addition & 1 deletion lib/distr/voidlinux/rootfs_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msg_print note 'Configuring xbps.d...'
cp /usr/share/xbps.d/*-*-*.conf /etc/xbps.d/
for file in /etc/xbps.d/*; do
[[ -e "$file" ]] || break
sed -ie "s|https://alpha.de.repo.voidlinux.org/current|$mirror_voidlinux|" "$file"
sed -ie "s|https://[a-zA-Z0-9./-]\+$|$mirror_voidlinux|" "$file"
done
rm -rf /etc/xbps.d/install_repo.conf
xbps-install -S
Expand Down

0 comments on commit ee18af7

Please sign in to comment.