mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-05 22:32:37 +00:00
don't fail when files don't exist when removing old interfaces and libraries
This commit is contained in:
parent
4e7e895782
commit
8b7c52d993
@ -259,16 +259,16 @@ function removeInterfacesAndLibraries()
|
||||
if [ -r "$FILE_LIST" ]; then
|
||||
echo "Removing currently installed Apple Interfaces and Libraries..."
|
||||
for file in `cat "$FILE_LIST"`; do
|
||||
rm "$PREFIX/$file"
|
||||
rm -f "$PREFIX/$file"
|
||||
done
|
||||
unlinkHeaders "$PREFIX/m68k-apple-macos/include"
|
||||
unlinkHeaders "$PREFIX/powerpc-apple-macos/include"
|
||||
rm "$PREFIX/m68k-apple-macos/RIncludes"
|
||||
rm "$PREFIX/powerpc-apple-macos/RIncludes"
|
||||
rm -f "$PREFIX/m68k-apple-macos/RIncludes"
|
||||
rm -f "$PREFIX/powerpc-apple-macos/RIncludes"
|
||||
rm -rf "$PREFIX/CIncludes"
|
||||
find "$PREFIX/RIncludes" ! -name 'Retro*.r' -type f -exec rm -f {} \;
|
||||
rm "$FILE_LIST"
|
||||
rm "$PREFIX/include/PEFBinaryFormat.h"
|
||||
rm -f "$FILE_LIST"
|
||||
rm -f "$PREFIX/include/PEFBinaryFormat.h"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user