mirror of
https://github.com/dockur/macos.git
synced 2026-03-11 08:34:24 +00:00
Update install.sh
This commit is contained in:
parent
11078c6eec
commit
96813876f3
1 changed files with 4 additions and 1 deletions
|
|
@ -155,7 +155,10 @@ install() {
|
|||
esac
|
||||
|
||||
rm -f "$dest"
|
||||
makeDir "$STORAGE"
|
||||
|
||||
if ! makeDir "$STORAGE"; then
|
||||
error "Failed to create directory \"$STORAGE\" !" && return 1
|
||||
fi
|
||||
|
||||
find "$STORAGE" -maxdepth 1 -type f \( -iname '*.rom' -or -iname '*.vars' \) -delete
|
||||
find "$STORAGE" -maxdepth 1 -type f \( -iname 'data.*' -or -iname 'macos.*' \) -delete
|
||||
|
|
|
|||
Loading…
Reference in a new issue