aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-03-21 09:57:38 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-03-21 09:57:38 -0700
commit55d450ba11d8ae46734e291d2876a4a2c9eaaba3 (patch)
tree0d5d214c928538f1f72d407f30c25ce1ff3eec6e
parent3712ce794229b24874bd905a6034b63a648a718e (diff)
downloaduhd-55d450ba11d8ae46734e291d2876a4a2c9eaaba3.tar.gz
uhd-55d450ba11d8ae46734e291d2876a4a2c9eaaba3.tar.bz2
uhd-55d450ba11d8ae46734e291d2876a4a2c9eaaba3.zip
cmake: uhd-usrp.rules location fixed to reflect FHS compliance
-rwxr-xr-xhost/cmake/debian/postinst.in4
-rwxr-xr-xhost/cmake/redhat/post_install.in4
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