Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mytonctrl/migrations/roll_back_001.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pip3 uninstall -y mytonctrl

cd /usr/src
rm -rf mytonctrl
git clone --recursive https://github.com/ton-blockchain/mytonctrl
git clone --recursive -b mytonctrl1 https://github.com/ton-blockchain/mytonctrl

echo "Updating /usr/bin/mytonctrl"
echo "/usr/bin/python3 /usr/src/mytonctrl/mytonctrl.py $@" > /usr/bin/mytonctrl
Expand Down
2 changes: 1 addition & 1 deletion mytonctrl/mytonctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def check_branch_exists(author, repo, branch):

def Update(local, args):
repo = "mytonctrl"
author, repo, branch = check_git(args, repo, "update", default_branch='mytonctrl2')
author, repo, branch = check_git(args, repo, "update")

# Run script
update_script_path = pkg_resources.resource_filename('mytonctrl', 'scripts/update.sh')
Expand Down