[script/post-upgrade] part of the cleanup phase moved to the other image
This commit is contained in:
@@ -139,20 +139,7 @@ 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
|
||||
rm -rf /post-upgrade.sh
|
||||
|
||||
# Cleaning portage metadata cache
|
||||
rm -rf /usr/portage/metadata/md5-cache/*
|
||||
rm -rf /var/log/emerge/*
|
||||
rm -rf /var/log/entropy/*
|
||||
rm -rf /root/* /root/.*
|
||||
rm -rf /etc/zsh
|
||||
|
||||
# Cleanup
|
||||
rm -rf "${FILES_TO_REMOVE[@]}"
|
||||
|
||||
Reference in New Issue
Block a user