We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47806a4 commit 868c2a8Copy full SHA for 868c2a8
udroid/src/udroid.sh
@@ -95,7 +95,18 @@ install() {
95
# Finally to get link
96
arch=$(dpkg --print-architecture)
97
link=$(cat $distro_data | jq -r ".$suite.$varient.${arch}url")
98
+ LOG "link=$link"
99
name=$(cat $distro_data | jq -r ".$suite.$varient.Name")
100
+ LOG "name=$name"
101
+ # final checks
102
+ [[ "$link" == "null" ]] && {
103
+ ELOG "link not found for $suite:$varient"
104
+ echo "ERROR:"
105
+ echo "link not found for $suite:$varient"
106
+ echo "either the suite or varient is not supported or invalid options supplied"
107
+ echo "Report this issue at https://github.com/RandomCoderOrg/ubuntu-on-android/issues"
108
+ exit 1
109
+ }
110
111
# echo "$link + $name"
112
download "$name" "$link"
0 commit comments