diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2013-03-21 09:57:38 -0700 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2013-03-21 09:57:38 -0700 |
commit | 55d450ba11d8ae46734e291d2876a4a2c9eaaba3 (patch) | |
tree | 0d5d214c928538f1f72d407f30c25ce1ff3eec6e /host/cmake | |
parent | 3712ce794229b24874bd905a6034b63a648a718e (diff) | |
download | uhd-55d450ba11d8ae46734e291d2876a4a2c9eaaba3.tar.gz uhd-55d450ba11d8ae46734e291d2876a4a2c9eaaba3.tar.bz2 uhd-55d450ba11d8ae46734e291d2876a4a2c9eaaba3.zip |
cmake: uhd-usrp.rules location fixed to reflect FHS compliance
Diffstat (limited to 'host/cmake')
-rwxr-xr-x | host/cmake/debian/postinst.in | 4 | ||||
-rwxr-xr-x | host/cmake/redhat/post_install.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/host/cmake/debian/postinst.in b/host/cmake/debian/postinst.in index eaca15394..bc27c46f0 100755 --- a/host/cmake/debian/postinst.in +++ b/host/cmake/debian/postinst.in @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2011 Ettus Research LLC +# Copyright 2011,2013 Ettus Research LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ # if [ "$1" = "configure" ]; then - cp @CMAKE_INSTALL_PREFIX@/share/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules + cp @CMAKE_INSTALL_PREFIX@/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules udevadm control --reload-rules ldconfig fi diff --git a/host/cmake/redhat/post_install.in b/host/cmake/redhat/post_install.in index 01fd3338f..25864e0ec 100755 --- a/host/cmake/redhat/post_install.in +++ b/host/cmake/redhat/post_install.in @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2011 Ettus Research LLC +# Copyright 2011,2013 Ettus Research LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,6 +16,6 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -cp @CMAKE_INSTALL_PREFIX@/share/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules +cp @CMAKE_INSTALL_PREFIX@/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules udevadm control --reload-rules ldconfig |