Skip to content

Commit

Permalink
Merge pull request #2 from RandomCoderOrg/add-upgarde
Browse files Browse the repository at this point in the history
Add upgarde
  • Loading branch information
SaicharanKandukuri authored Apr 11, 2022
2 parents f636b1b + ff53259 commit 6b4ad4d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Empty file modified install.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion utils/upgrade.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
from utils.funs import *

CURRENT_VERSION = "v0.1"
CURRENT_VERSION = "v0.2"
REMOTE_VERISON = os.popen("git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/RandomCoderOrg/udroid-extra-tool-proot | tail -n1 | cut -d \"/\" -f 3").read().strip()

def isold():
Expand Down
2 changes: 1 addition & 1 deletion utils/upgrade.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

repo_link="https://github.com/RandomCoderOrg/udroid-extra-tool-proot"
_basename="$(basnemae $repo_link)"
_basename="$(basename $repo_link)"
if [ -d "$_basename" ]; then
rm -rf "$_basename"
fi
Expand Down

0 comments on commit 6b4ad4d

Please sign in to comment.