5 INSTALL_PATH=/var/www/arvados-sso
6 RELEASE_PATH=$INSTALL_PATH/current
7 SHARED_PATH=$INSTALL_PATH/shared
8 CONFIG_PATH=/etc/arvados/sso
11 rm -rf $SHARED_PATH/vendor_bundle
12 rm -rf $SHARED_PATH/log
13 rmdir $SHARED_PATH || true
14 rmdir $INSTALL_PATH || true
17 if [ "$1" = 'purge' ]; then
18 # This is a debian-based system and purge was requested
20 elif [ "$1" = "0" ] || [ "$1" = "1" ] || [ "$1" = "2" ]; then
21 # This is an rpm-based system, no guarantees are made, always purge
22 # Apparently yum doesn't actually remember what it installed.
23 # Clean those files up here, then purge.