We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c4cc7 commit 49e0c50Copy full SHA for 49e0c50
.pre-commit-scripts/install_gettext.py
@@ -21,10 +21,10 @@ def main():
21
)
22
exit(0)
23
elif sys.platform in ["linux", "linux2"]:
24
- cmd = shlex.split("sudo apt --upgrade && sudo apt install -y gettext", posix=True)
+ cmd = shlex.split("sudo apt --update && sudo apt install -y gettext", posix=True)
25
else: # macOS
26
cmd = shlex.split("brew update && brew install gettext", posix=True)
27
- return subprocess.run(cmd, shell=True, check=True)
+ return subprocess.run(cmd, shell=False, check=True)
28
29
30
if __name__ == "__main__":
0 commit comments