Skip to content

Commit

Permalink
chore:Compatible with alpha upgrade command, will be removed in subse…
Browse files Browse the repository at this point in the history
…quent versions
  • Loading branch information
ThomasVon2021 committed Sep 19, 2024
1 parent f496ae1 commit 7aaf2eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def main():
specified_version = None
# Check if a version has been passed as an argument
if len(sys.argv) > 1:
specified_version = sys.argv[1]
if sys.argv[1] != 'alpha' :
specified_version = sys.argv[1]
# Remove/clear download directory
cmd = "rm -rf /tmp/kvm_update"
output = subprocess.check_output(cmd, shell = True, cwd=sh_path )
Expand Down

0 comments on commit 7aaf2eb

Please sign in to comment.