Fixes in scripts for debian 12

This commit is contained in:
absurdo 2023-06-23 01:12:01 +02:00
parent 9161c35cac
commit 711893b7df
4 changed files with 15 additions and 7 deletions

View file

@ -139,7 +139,7 @@ if check_url.match(args.url_stats):
os.chmod('/etc/cron.daily/get_updates.py', 0o700)
"""
if call("sudo pip3 install --upgrade git+https://bitbucket.org/paramecio/pastafaristats", shell=True)>0:
if call("sudo /opt/pythonenv/bin/pip3 install --upgrade git+https://bitbucket.org/paramecio/pastafaristats", shell=True)>0:
print('Error, cannot install pastafari stats')
exit(1)
else: