1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-31 23:26:22 +00:00
gnss-sdr/cmake/Packaging/prerm.in
2014-11-14 19:41:58 +01:00

15 lines
496 B
Bash

#!/bin/sh
set -e
if test -e @CMAKE_INSTALL_PREFIX@/@PROJECT_NAME@ ; then
rm @CMAKE_INSTALL_PREFIX@/bin/@PROJECT_NAME@
rm @CMAKE_INSTALL_PREFIX@/bin/volk_gnsssdr_profile
fi
if test -e @CMAKE_INSTALL_PREFIX@/share/@PROJECT_NAME@ ; then
rm -rf @CMAKE_INSTALL_PREFIX@/share/@PROJECT_NAME@
fi
if test -e @CMAKE_INSTALL_PREFIX@/share/man/man1/@PROJECT_NAME@.1.gz ; then
rm @CMAKE_INSTALL_PREFIX@/share/man/man1/@PROJECT_NAME@.1.gz
rm @CMAKE_INSTALL_PREFIX@/share/man/man1/volk_gnsssdr_profile.1.gz
fi