mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
Fix for electrum failing to determine version.
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user