-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexei Chekulaev
committed
Jun 29, 2017
1 parent
7a0c12d
commit c5fdf17
Showing
4 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
|
||
echo " This is a post-install script output." | ||
echo " Use it to perform additional tasks after addon installation." | ||
echo " This is an example post-install script output." | ||
echo " Use post-install hook to perform additional tasks after addon installation," | ||
echo " that can not be performed before addon installation." | ||
sleep 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
|
||
echo " This is an example post-uninstall script to perform a cleanup..." | ||
echo " This is an example post-uninstall script output." | ||
echo " Use post-uninstall to perform a cleanup if needed." | ||
echo " Addon code is gone by this moment." | ||
sleep 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#!/bin/bash | ||
|
||
echo " This is an example pre-install script output..." | ||
sleep 1 | ||
echo " Use pre-install shook to check for dependencies or pre-requisites..." | ||
sleep 2 | ||
echo " If exit code is non-zero, then addon installation will not continue." | ||
sleep 2 | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
#!/bin/bash | ||
|
||
echo " This is an example pre-uninstall hook output" | ||
echo " Use this hook to ask for additional confirmations or to warn about outcome..." | ||
echo " Use pre-uninstall to ask for additional confirmations or to warn about outcome." | ||
echo " If exit code will be non-zero, then uninstallation will not happen." | ||
sleep 2 | ||
echo " If exit code will be non-zero then uninstallation will not happen..." | ||
sleep 1 |