summaryrefslogtreecommitdiff
path: root/cmake/Packaging
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-16 17:41:11 -0800
committerJosh Blum <josh@joshknows.com>2011-11-30 21:37:54 -0500
commitd56564f5e3d9ccefc9ac34c81dc8d061298301e7 (patch)
tree53a239da39103f95fd113a5c9d1e8fff085b444f /cmake/Packaging
parent507c3a2eba8153ab285f0ec8c35598588382d1db (diff)
cmake: moved post/pre inst/uinst files
Diffstat (limited to 'cmake/Packaging')
-rwxr-xr-xcmake/Packaging/post_install.in4
-rwxr-xr-xcmake/Packaging/post_uninstall.in3
-rwxr-xr-xcmake/Packaging/postinst.in6
-rwxr-xr-xcmake/Packaging/postrm.in5
-rwxr-xr-xcmake/Packaging/pre_install.in1
-rwxr-xr-xcmake/Packaging/pre_uninstall.in3
-rwxr-xr-xcmake/Packaging/preinst.in5
-rwxr-xr-xcmake/Packaging/prerm.in5
8 files changed, 32 insertions, 0 deletions
diff --git a/cmake/Packaging/post_install.in b/cmake/Packaging/post_install.in
new file mode 100755
index 0000000000..e7245f0320
--- /dev/null
+++ b/cmake/Packaging/post_install.in
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+@CMAKE_INSTALL_PREFIX@/libexec/gnuradio/grc_setup_freedesktop install
+ldconfig
diff --git a/cmake/Packaging/post_uninstall.in b/cmake/Packaging/post_uninstall.in
new file mode 100755
index 0000000000..2d1871b1df
--- /dev/null
+++ b/cmake/Packaging/post_uninstall.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ldconfig
diff --git a/cmake/Packaging/postinst.in b/cmake/Packaging/postinst.in
new file mode 100755
index 0000000000..7fef2accf4
--- /dev/null
+++ b/cmake/Packaging/postinst.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ "$1" = "configure" ]; then
+ @CMAKE_INSTALL_PREFIX@/libexec/gnuradio/grc_setup_freedesktop install
+ ldconfig
+fi
diff --git a/cmake/Packaging/postrm.in b/cmake/Packaging/postrm.in
new file mode 100755
index 0000000000..b780602a7b
--- /dev/null
+++ b/cmake/Packaging/postrm.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "$1" = "remove" ]; then
+ ldconfig
+fi
diff --git a/cmake/Packaging/pre_install.in b/cmake/Packaging/pre_install.in
new file mode 100755
index 0000000000..1a2485251c
--- /dev/null
+++ b/cmake/Packaging/pre_install.in
@@ -0,0 +1 @@
+#!/bin/sh
diff --git a/cmake/Packaging/pre_uninstall.in b/cmake/Packaging/pre_uninstall.in
new file mode 100755
index 0000000000..c5e085e895
--- /dev/null
+++ b/cmake/Packaging/pre_uninstall.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+@CMAKE_INSTALL_PREFIX@/libexec/gnuradio/grc_setup_freedesktop uninstall
diff --git a/cmake/Packaging/preinst.in b/cmake/Packaging/preinst.in
new file mode 100755
index 0000000000..c60d465686
--- /dev/null
+++ b/cmake/Packaging/preinst.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "$1" = "install" ]; then
+ ls
+fi
diff --git a/cmake/Packaging/prerm.in b/cmake/Packaging/prerm.in
new file mode 100755
index 0000000000..d098878503
--- /dev/null
+++ b/cmake/Packaging/prerm.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "$1" = "remove" ]; then
+ @CMAKE_INSTALL_PREFIX@/libexec/gnuradio/grc_setup_freedesktop uninstall
+fi