Add after_upgrade() function execution after upgrade if this function is set
This commit is contained in:
parent
df1893a8a2
commit
23765ce7c8
1 changed files with 8 additions and 0 deletions
|
@ -225,6 +225,14 @@ then
|
|||
cd "$src"
|
||||
./bin/installto.sh "$to"
|
||||
|
||||
type after_upgrade > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
echo "Execution de la fonction custom after_upgrade() :"
|
||||
after_upgrade
|
||||
echo "Fin de la fonction after_upgrade()"
|
||||
fi
|
||||
|
||||
if [ -L "$RC_HOME" ]
|
||||
then
|
||||
echo -n "Voulez-vous faire pointer le lien symbolique $RC_HOME vers cette nouvelle installation [Y/n] ? "
|
||||
|
|
Loading…
Reference in a new issue