From d48615650e4588ae03444c067e669970a99c8729 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Mon, 4 Feb 2019 10:53:35 +0100 Subject: [PATCH] adopted for yum update which calls at the end the uninstall script. --- cmake/post_install.sh | 4 +--- cmake/post_uninstall.sh | 10 +--------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/cmake/post_install.sh b/cmake/post_install.sh index 3763661a..b77b2367 100644 --- a/cmake/post_install.sh +++ b/cmake/post_install.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo ">> musrfit post install script started ..." +echo " >> musrfit post install script started ..." # test if nemu-x86_64.conf does not exist if [ ! -f "/etc/ld.so.conf.d/nemu-x86_64.conf" ] @@ -10,5 +10,3 @@ then fi /sbin/ldconfig -echo ">> musrfit post install script done." - diff --git a/cmake/post_uninstall.sh b/cmake/post_uninstall.sh index 51390702..22ee00ec 100644 --- a/cmake/post_uninstall.sh +++ b/cmake/post_uninstall.sh @@ -1,13 +1,5 @@ #!/bin/bash -echo ">> musrfit post uninstall script started ..." +echo " >> musrfit post uninstall script started ..." -# test if nemu-x86_64.conf does not exist -if [ -f "/etc/ld.so.conf.d/nemu-x86_64.conf" ] -then - rm -f /etc/ld.so.conf.d/nemu-x86_64.conf -fi /sbin/ldconfig - -echo ">> musrfit post uninstall script done." -