diff options
Diffstat (limited to 'cmake/debian')
-rwxr-xr-x | cmake/debian/postinst.in | 6 | ||||
-rwxr-xr-x | cmake/debian/postrm.in | 5 | ||||
-rwxr-xr-x | cmake/debian/preinst.in | 5 | ||||
-rwxr-xr-x | cmake/debian/prerm.in | 5 |
4 files changed, 21 insertions, 0 deletions
diff --git a/cmake/debian/postinst.in b/cmake/debian/postinst.in new file mode 100755 index 000000000..7fef2accf --- /dev/null +++ b/cmake/debian/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/debian/postrm.in b/cmake/debian/postrm.in new file mode 100755 index 000000000..b780602a7 --- /dev/null +++ b/cmake/debian/postrm.in @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ "$1" = "remove" ]; then + ldconfig +fi diff --git a/cmake/debian/preinst.in b/cmake/debian/preinst.in new file mode 100755 index 000000000..c60d46568 --- /dev/null +++ b/cmake/debian/preinst.in @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ "$1" = "install" ]; then + ls +fi diff --git a/cmake/debian/prerm.in b/cmake/debian/prerm.in new file mode 100755 index 000000000..d09887850 --- /dev/null +++ b/cmake/debian/prerm.in @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ "$1" = "remove" ]; then + @CMAKE_INSTALL_PREFIX@/libexec/gnuradio/grc_setup_freedesktop uninstall +fi |