adopted for yum update which calls at the end the uninstall script.

This commit is contained in:
2019-02-04 10:53:35 +01:00
parent a7806f7e02
commit d48615650e
2 changed files with 2 additions and 12 deletions
+1 -3
View File
@@ -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."
+1 -9
View File
@@ -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."