Skip to content

Commit

Permalink
Closes-Bug: #1497407 - Server Manager Upgrade fix to bring in dirs
Browse files Browse the repository at this point in the history
Dir /opt/contrail/contrail_server_manager/ is deleted in preinst
It should be brought in by rules file

Patch 2:
Moved post rm removal of files to pre rm (Incorrect order)
In purge case: pre rm removes files
In upgrade case: pre rm removes files
In install case: pre install removes files

Change-Id: I117787a0fc687abecbfd6df47faed7cec8a73c53
  • Loading branch information
nitishkrishna committed Sep 21, 2015
1 parent a23c731 commit 606714d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -2,5 +2,5 @@
#!/bin/sh
set -e

echo "running post rm"
echo "running pre rm"
rm -rf /opt/contrail/contrail_server_manager/
Expand Up @@ -58,6 +58,7 @@ override_dh_auto_build:

override_dh_auto_install:
rm -rf $(buildroot)
mkdir -p $(buildroot)$(_contrailopt)/contrail_server_manager
# Setup directories
@echo "making deb for contrail-server-manager-installer"
install -d -m 755 $(buildroot)
Expand Down

0 comments on commit 606714d

Please sign in to comment.