deb.open-vault/scripts/deps_upgrade.py

13 lines
284 B
Python
Raw Normal View History

2024-04-20 12:23:50 +00:00
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
import os
import sys
filename = sys.argv[1]
with open(filename) as f:
content = f.readlines()
for l in content:
name = l.split()[0]
print(name)
os.system("go get " + name + "@latest")