mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
35 lines
533 B
Bash
Executable File
35 lines
533 B
Bash
Executable File
#! /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
|
|
|