Skip to content

Commit

Permalink
chore: remove obsolete patch
Browse files Browse the repository at this point in the history
changes have been merged in new release
  • Loading branch information
Barabazs committed Apr 20, 2023
1 parent 555b49c commit ca83dce
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 78 deletions.
10 changes: 0 additions & 10 deletions displaylink-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -461,16 +461,6 @@ patchName="displaylink-installer.patch"
finalPatchPath="$resourcesDir$patchName"
patch -Np0 $driver_dir/displaylink-driver-${version}/displaylink-installer.sh <$finalPatchPath

if [ "$(ver2int $kernel_check)" -ge "$(ver2int 6.0.0)" ]; then
# Patch displaylink-installer.sh to patch a evdi file to support kernel 6.0 & higher
secondPatchName="displaylink-two.patch"
evdiPatchName="evdi.patch"
patch_location="$resourcesDir$evdiPatchName"
sed -i "s|PatchPath|$patch_location|g" "$resourcesDir$secondPatchName"

patch -Np0 $driver_dir/displaylink-driver-${version}/displaylink-installer.sh <$resourcesDir$secondPatchName
fi

# run displaylink install
echo -e "\nInstalling driver version: $version\n"
cd $driver_dir/displaylink-driver-${version}
Expand Down
11 changes: 0 additions & 11 deletions resources/displaylink-two.patch

This file was deleted.

57 changes: 0 additions & 57 deletions resources/evdi.patch

This file was deleted.

0 comments on commit ca83dce

Please sign in to comment.