Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Closes-Bug: #1492063 - Avoiding manual steps during upgrade/pu…
…rge using preinst/postrm scripts" into R2.22-dev
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
common/debian/contrail-server-manager-installer/debian/postrm
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Sample debian/rules that uses debhelper. | ||
#!/bin/sh | ||
set -e | ||
|
||
echo "running post rm" | ||
rm -rf /opt/contrail/contrail_server_manager/ |
6 changes: 6 additions & 0 deletions
6
common/debian/contrail-server-manager-installer/debian/preinst
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Sample debian/rules that uses debhelper. | ||
#!/bin/sh | ||
set -e | ||
|
||
echo "running pre install" | ||
rm -rf /opt/contrail/contrail_server_manager/ |