mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
17 lines
276 B
Plaintext
17 lines
276 B
Plaintext
|
|
||
|
# begin common script shell
|
||
|
# delete all the folder not deleted by the purge command
|
||
|
|
||
|
echo "appli_name=${appli_name}"
|
||
|
|
||
|
list=$(find /usr -name ${appli_name} 2>/dev/null)
|
||
|
|
||
|
for folder in $list
|
||
|
do
|
||
|
echo "to delete : '$folder'"
|
||
|
rm -r $folder
|
||
|
done
|
||
|
|
||
|
# end common script shell
|
||
|
|