Fixes in updates

This commit is contained in:
absurdo 2023-11-26 01:36:46 +01:00
parent 929a13eb88
commit 9efdb38e0e
2 changed files with 8 additions and 4 deletions

View file

@ -44,12 +44,16 @@ print('Upgrading certbot...')
if call("sudo /opt/certbot/bin/pip install --upgrade certbot", shell=True) > 0:
print('Error, cannot upgrade certbot...')
exit(1)
print('Upgrading Pastafari utils...')
exit(1)
print('Upgrading Composer...')
if call("sudo /usr/local/bin/composer self-update", shell=True) > 0:
print('Error, cannot upgrade composer...')
exit(1)
print('Upgrading Pastafari utils...')
if call("cd ./leviathanutils && git pull && composer update", shell=True) > 0:
print('Error, cannot upgrade Leviathanutils...')
exit(1)