-
-
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.
Fix README. Fix and improve hook exmaple descriptions.
- Loading branch information
Alexei Chekulaev
committed
Jun 29, 2017
1 parent
1cc8feb
commit 6d7d216
Showing
5 changed files
with
16 additions
and
11 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
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,4 +1,5 @@ | ||
#!/bin/bash | ||
|
||
echo "Post-install script to perform desired tasks after installation..." | ||
sleep 1 | ||
echo " This is a post-install script output." | ||
echo " Use it to perform additional tasks after 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,4 +1,5 @@ | ||
#!/bin/bash | ||
|
||
echo "Post-uninstall script to perform a cleanup..." | ||
sleep 2 | ||
echo " This is an example post-uninstall script to perform a cleanup..." | ||
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,8 +1,8 @@ | ||
#!/bin/bash | ||
|
||
echo "Pre-install script" | ||
echo " This is an example pre-install script output..." | ||
sleep 1 | ||
ehco "Check for dependencies or pre-requisites..." | ||
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 | ||
echo "If exit code if non-zero the installation will not continue." | ||
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,4 +1,7 @@ | ||
#!/bin/bash | ||
|
||
echo "Pre-uninstall to ask for additional confirmation or warn about outcome..." | ||
sleep 2 | ||
echo " This is an example pre-uninstall hook output" | ||
echo " Use this hook to ask for additional confirmations or to warn about outcome..." | ||
sleep 2 | ||
echo " If exit code will be non-zero then uninstallation will not happen..." | ||
sleep 1 |