From 5f673685501edc6d23986f66efd7617a7ba29fed Mon Sep 17 00:00:00 2001 From: mudler Date: Sat, 6 Jun 2015 22:41:21 +0200 Subject: [PATCH] [script/post-upgrade] ensure removal of scripts if you run directly undocker without squashing the layers first --- script/post-upgrade.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/script/post-upgrade.sh b/script/post-upgrade.sh index 441ab38..64e0e0f 100644 --- a/script/post-upgrade.sh +++ b/script/post-upgrade.sh @@ -114,3 +114,11 @@ echo FONT=LatArCyrHeb-16 > /etc/vconsole.conf # remove LDAP keys rm -f /etc/openldap/ssl/ldap.pem /etc/openldap/ssl/ldap.key \ /etc/openldap/ssl/ldap.csr /etc/openldap/ssl/ldap.crt + +# Remove scripts +rm -rf /equo-rescue-generate.exp +rm -rf /equo.sql +rm -rf /generate-equo-db.sh +rm -rf /post-upgrade.sh +rm -rf /sabayon-configuration-build.sh +rm -rf /sabayon-configuration.sh \ No newline at end of file