Added support for php, composer, and php utilities
This commit is contained in:
parent
def162c1c9
commit
929a13eb88
5 changed files with 91 additions and 5 deletions
|
|
@ -36,3 +36,20 @@ elif linux_distro=='rocky' or linux_distro=='fedora' or linux_distro=='alma' or
|
|||
print('Error, cannot upgrade server...')
|
||||
exit(1)
|
||||
|
||||
# Need update certbot and leviathanutils.
|
||||
|
||||
print('Upgrading certbot...')
|
||||
|
||||
#/opt/certbot/bin/pip install --upgrade 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...')
|
||||
|
||||
print('Upgrading Composer...')
|
||||
|
||||
if call("sudo /usr/local/bin/composer self-update", shell=True) > 0:
|
||||
print('Error, cannot upgrade composer...')
|
||||
exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue