diff options
author | Josh Blum <josh@joshknows.com> | 2011-11-16 17:41:11 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-11-30 21:37:54 -0500 |
commit | d56564f5e3d9ccefc9ac34c81dc8d061298301e7 (patch) | |
tree | 53a239da39103f95fd113a5c9d1e8fff085b444f /cmake/Packaging | |
parent | 507c3a2eba8153ab285f0ec8c35598588382d1db (diff) |
cmake: moved post/pre inst/uinst files
Diffstat (limited to 'cmake/Packaging')
-rwxr-xr-x | cmake/Packaging/post_install.in | 4 | ||||
-rwxr-xr-x | cmake/Packaging/post_uninstall.in | 3 | ||||
-rwxr-xr-x | cmake/Packaging/postinst.in | 6 | ||||
-rwxr-xr-x | cmake/Packaging/postrm.in | 5 | ||||
-rwxr-xr-x | cmake/Packaging/pre_install.in | 1 | ||||
-rwxr-xr-x | cmake/Packaging/pre_uninstall.in | 3 | ||||
-rwxr-xr-x | cmake/Packaging/preinst.in | 5 | ||||
-rwxr-xr-x | cmake/Packaging/prerm.in | 5 |
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 |