summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2012-03-29 10:05:00 -0700
committerJosh Blum <josh@joshknows.com>2012-03-29 16:01:21 -0700
commit3e8e9dad3c2bdd5e7151956ba9b87142d2cb1435 (patch)
treefee7be66ca70f9508b6a8f6960c26549a956637e /host
parent097f20df1653c33035b6dcfefbbef22572426c65 (diff)
downloaduhd-3e8e9dad3c2bdd5e7151956ba9b87142d2cb1435.tar.gz
uhd-3e8e9dad3c2bdd5e7151956ba9b87142d2cb1435.tar.bz2
uhd-3e8e9dad3c2bdd5e7151956ba9b87142d2cb1435.zip
cmake: Binaries give notification before installing or uninstalling UHD. Better to give an output than just an empty pause.
Diffstat (limited to 'host')
-rwxr-xr-xhost/cmake/debian/preinst.in2
-rwxr-xr-xhost/cmake/debian/prerm.in1
-rwxr-xr-xhost/cmake/redhat/pre_install.in2
-rwxr-xr-xhost/cmake/redhat/pre_uninstall.in1
4 files changed, 5 insertions, 1 deletions
diff --git a/host/cmake/debian/preinst.in b/host/cmake/debian/preinst.in
index 9e8e50b90..71246b7e7 100755
--- a/host/cmake/debian/preinst.in
+++ b/host/cmake/debian/preinst.in
@@ -17,5 +17,5 @@
#
if [ "$1" = "install" ]; then
- echo
+ echo 'Installing UHD.'
fi
diff --git a/host/cmake/debian/prerm.in b/host/cmake/debian/prerm.in
index 30ce41963..dfe491767 100755
--- a/host/cmake/debian/prerm.in
+++ b/host/cmake/debian/prerm.in
@@ -17,6 +17,7 @@
#
if [ "$1" = "remove" ]; then
+ echo 'Uninstalling UHD.'
rm /etc/udev/rules.d/uhd-usrp.rules
udevadm control --reload-rules
fi
diff --git a/host/cmake/redhat/pre_install.in b/host/cmake/redhat/pre_install.in
index b611fb381..e62d603ab 100755
--- a/host/cmake/redhat/pre_install.in
+++ b/host/cmake/redhat/pre_install.in
@@ -15,3 +15,5 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+
+echo 'Installing UHD.'
diff --git a/host/cmake/redhat/pre_uninstall.in b/host/cmake/redhat/pre_uninstall.in
index f1faa36ce..806da7f7c 100755
--- a/host/cmake/redhat/pre_uninstall.in
+++ b/host/cmake/redhat/pre_uninstall.in
@@ -16,5 +16,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+echo 'Uninstalling UHD.'
rm /etc/udev/rules.d/uhd-usrp.rules
udevadm control --reload-rules