biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / science / electronics / dsview / install.patch
blob9fc660bf814882eb27f91699890e04103ee9dc43
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index eb9be42..220817c 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -662,16 +662,8 @@ install(FILES DSView/icons/logo.svg DESTINATION share/icons/hicolor/scalable/app
6 install(FILES DSView/icons/logo.svg DESTINATION share/pixmaps RENAME dsview.svg)
8 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
9 - install(FILES DSView/DSView.desktop DESTINATION /usr/share/applications RENAME dsview.desktop)
11 - if(IS_DIRECTORY /usr/lib/udev/rules.d)
12 - install(FILES DSView/DreamSourceLab.rules DESTINATION /usr/lib/udev/rules.d RENAME 60-dreamsourcelab.rules)
13 - elseif(IS_DIRECTORY /lib/udev/rules.d)
14 - install(FILES DSView/DreamSourceLab.rules DESTINATION /lib/udev/rules.d RENAME 60-dreamsourcelab.rules)
15 - elseif(IS_DIRECTORY /etc/udev/rules.d)
16 - install(FILES DSView/DreamSourceLab.rules DESTINATION /etc/udev/rules.d RENAME 60-dreamsourcelab.rules)
17 - endif()
19 + install(FILES DSView/DreamSourceLab.rules DESTINATION etc/udev/rules.d RENAME 60-dreamsourcelab.rules)
20 endif()
21 +install(FILES DSView/DSView.desktop DESTINATION share/applications RENAME dsview.desktop)
23 install(FILES NEWS25 DESTINATION share/DSView RENAME NEWS25)