2 # This code runs after package variable definitions and step2.sh.
7 rm -rf $SHARED_PATH/vendor_bundle
8 rm -rf $SHARED_PATH/log
10 rmdir $SHARED_PATH || true
11 rmdir $INSTALL_PATH || true
14 if [ "$1" = 'purge' ]; then
15 # This is a debian-based system and purge was requested
17 elif [ "$1" = "0" ]; then
18 # This is an rpm-based system, no guarantees are made, always purge
19 # Apparently yum doesn't actually remember what it installed.
20 # Clean those files up here, then purge.