mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 11:45:50 +00:00
Update install.sh
This commit is contained in:
parent
11d153d2be
commit
7b001ca1c6
1 changed files with 3 additions and 2 deletions
|
|
@ -704,8 +704,9 @@ addDriver() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
local dest="$path/$target/$driver"
|
local dest="$path/$target/$driver"
|
||||||
mv "$path/$driver/$folder" "$dest"
|
mkdir -p "$dest"
|
||||||
|
|
||||||
|
cp -Lr "$path/$driver/$folder/." "$dest"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -756,7 +757,7 @@ addDrivers() {
|
||||||
# Workaround Virtio GPU driver bug
|
# Workaround Virtio GPU driver bug
|
||||||
local dst="$src/\$OEM\$/\$\$/Drivers"
|
local dst="$src/\$OEM\$/\$\$/Drivers"
|
||||||
mkdir -p "$dst"
|
mkdir -p "$dst"
|
||||||
! cp -r "$dest/." "$dst" && return 1
|
! cp -Lr "$dest/." "$dst" && return 1
|
||||||
rm -rf "$dest/viogpudo"
|
rm -rf "$dest/viogpudo"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue