#! /bin/bash
set -e

#we need to rm files that have been copied via script
rep="/usr/share/icons/OSCAR_beta"
if [ -d "$rep" ]; then
    rm -r $rep
fi

rep="/usr/local/share/icons/OSCAR-test"
if [ -d "$rep" ]; then
    rm -r $rep
fi

rep="/usr/share/doc/OSCAR_beta"
if [ -d "$rep" ]; then
    rm -r $rep
fi

rep="/usr/local/share/doc/OSCAR-test"
if [ -d "$rep" ]; then
    rm -r $rep
fi

rep="/usr/share/OSCAR_beta"
if [ -d "$rep" ]; then
    rm -r $rep
fi

rep="/usr/local/share/OSCAR-test"
if [ -d "$rep" ]; then
    rm -r $rep
fi

