Skip to content

Commit

Permalink
Update jmthon
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad authored Mar 14, 2022
1 parent 6594b29 commit 6c1537d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jmthon
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
_get_repolink () {
local regex
regex='(https?)://github.com/.+/.+'
if [[ $UPSTREAM_REPO == "jmthon-rz" ]]
if [[ $UPSTREAM_REPO == "jmthonrz" ]]
then
echo "aHR0cHM6Ly9naXRodWIuY29tL0ptaXFxL3VzZXJib3QvYXJjaGl2ZS9tYXN0ZXIuemlw=" | base64 -d
elif [[ $UPSTREAM_REPO == "jmthon-rz" ]]
echo "aHR0cHM6Ly9naXRodWIuY29tL2ptdGhvbmFyL3VzZXJib3QvYXJjaGl2ZS9tYXN0ZXIuemlw=" | base64 -d
elif [[ $UPSTREAM_REPO == "jmthonrz" ]]
then
echo "aHR0cHM6Ly9naXRodWIuY29tL0ptaXFxL3VzZXJib3QvYXJjaGl2ZS9tYXN0ZXIuemlw=" | base64 -d
echo "aHR0cHM6Ly9naXRodWIuY29tL2ptdGhvbmFyL3VzZXJib3QvYXJjaGl2ZS9tYXN0ZXIuemlw=" | base64 -d
elif [[ $UPSTREAM_REPO =~ $regex ]]
then
if [[ $UPSTREAM_REPO_BRANCH ]]
Expand All @@ -18,7 +18,7 @@ _get_repolink () {
echo "${UPSTREAM_REPO}/archive/master.zip"
fi
else
echo "aHR0cHM6Ly9naXRodWIuY29tL0ptaXFxL3VzZXJib3QvYXJjaGl2ZS9tYXN0ZXIuemlw=" | base64 -d
echo "aHR0cHM6Ly9naXRodWIuY29tL2ptdGhvbmFyL3VzZXJib3QvYXJjaGl2ZS9tYXN0ZXIuemlw=" | base64 -d
fi
}

Expand Down

0 comments on commit 6c1537d

Please sign in to comment.