Changed the irc utility to use curl instead of wget because of problems on armv7h with wget.

This commit is contained in:
stormdragon2976 2023-01-26 19:13:40 -05:00
parent 9c26da7f0a
commit ba84837102

View File

@ -16,7 +16,7 @@ fi
# check for Stormux specific irssi config # check for Stormux specific irssi config
if [[ ! -d ~/.stormux_irssi ]]; then if [[ ! -d ~/.stormux_irssi ]]; then
{ fileName="$(mktemp --suffix .txz)" { fileName="$(mktemp --suffix .txz)"
wget -O "$fileName" "https://stormux.org/downloads/.stormux_irssi.txz" curl --output "$fileName" "https://stormux.org/downloads/.stormux_irssi.txz"
tar xf "$fileName" -C ~/ tar xf "$fileName" -C ~/
sed -i -e "s/user_name = \"stormux\";$/user_name = \"$nick\";/" -e "s/nick = \"stormux\";$/nick = \"$nick\";/" ~/.stormux_irssi/config sed -i -e "s/user_name = \"stormux\";$/user_name = \"$nick\";/" -e "s/nick = \"stormux\";$/nick = \"$nick\";/" ~/.stormux_irssi/config
} | dialog --progressbox "Configuring irssi..." -1 -1 } | dialog --progressbox "Configuring irssi..." -1 -1