Skip to content

Commit b9f705f

Browse files
committed
debian: remove old cache after upgrade
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit d4ead2c) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 5fb5937 commit b9f705f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

debian/cloudstack-management.postinst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ if [ "$1" = configure ]; then
2323
usermod -m -d /var/lib/cloudstack/management cloud || true
2424
fi
2525

26+
rm -fr /var/cache/cloudstack/management/work/*
27+
2628
for i in /var/cache/cloudstack/management \
2729
/var/cache/cloudstack/management/work \
2830
/var/cache/cloudstack/management/temp \

0 commit comments

Comments
 (0)