Project

General

Profile

Actions

Bug #92023

closed

Post update shell hook (skript)

Added by C. Gogolin almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2020-08-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
update hook script
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Hi together...

I have a wish for the CoreUpdateService:

I would like a shell script to be executed after the update. For example: If the file PostUpdateHook.sh exists in the directory typo3conf it will be executed after the update.

Background: My provider offers different PHP versions.
In the file: /typo3/sysext/core/bin/typo3 is

#!/usr/bin/env php
<?php
...

For this to work with my provider, the first line must be exchanged:

#!/usr/bin/env php7.4-cli
<?php
...

I think a post update script would be very useful for this. Or is there already such a hook I have not found yet?

Thanks for the help up front...

Translated with www.DeepL.com/Translator (free version)

Actions

Also available in: Atom PDF