2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
6 # This code runs after package variable definitions and step2.sh.
11 rm -rf $SHARED_PATH/vendor_bundle
12 rm -rf $SHARED_PATH/log
14 rmdir $SHARED_PATH || true
15 rmdir $INSTALL_PATH || true
18 if [ "$1" = 'purge' ]; then
19 # This is a debian-based system and purge was requested
21 elif [ "$1" = "0" ]; then
22 # This is an rpm-based system, no guarantees are made, always purge
23 # Apparently yum doesn't actually remember what it installed.
24 # Clean those files up here, then purge.