Fix for electrum failing to determine version.

This commit is contained in:
tb14
2019-12-05 13:21:12 -08:00
parent 09e3f4de4a
commit f6270864d9
+2 -2
View File
@@ -398,7 +398,7 @@ fi
echo "80% Complete"
NEWELECTRUM=$(curl -s https://github.com/spesmilo/electrum/blob/master/RELEASE-\
NOTES | grep Release | head -n 1 | grep -o '[0-9].[0-9].[0-9]')
NOTES | grep Release | head -n 2 | grep -o '[0-9].[0-9].[0-9]')
if [[ $NEWELECTRUM == "" ]]; then
NEWELECTRUM="SERVER DOWN"
fi
@@ -1956,7 +1956,7 @@ fi
echo "Electrum is already at the Version $NEWELECTRUM"
else
if [[ $OSCN =~ (tara|tessa|tina|bionic|cosmic|disco|buster) ]]; then
if [[ $OSCN =~ (tara|tessa|tina|bionic|cosmic|disco|eoan|buster) ]]; then
echo "Getting dependencies"
sudo apt-get install -y python3-setuptools python3-pyqt5 python3-pip ||
{ ERRCODE="Failed to get dependencies for Electrum"; errors; return; }