[script/post-upgrade] ensure removal of scripts if you run directly undocker without squashing the layers first

This commit is contained in:
mudler
2015-06-06 22:41:21 +02:00
parent ba42514efc
commit 5f67368550
+8
View File
@@ -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