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

This commit is contained in:
suter_a 2019-02-04 10:53:35 +01:00
parent a7806f7e02
commit d48615650e
2 changed files with 2 additions and 12 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
echo ">> musrfit post install script started ..." echo " >> musrfit post install script started ..."
# test if nemu-x86_64.conf does not exist # test if nemu-x86_64.conf does not exist
if [ ! -f "/etc/ld.so.conf.d/nemu-x86_64.conf" ] if [ ! -f "/etc/ld.so.conf.d/nemu-x86_64.conf" ]
@ -10,5 +10,3 @@ then
fi fi
/sbin/ldconfig /sbin/ldconfig
echo ">> musrfit post install script done."

View File

@ -1,13 +1,5 @@
#!/bin/bash #!/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 /sbin/ldconfig
echo ">> musrfit post uninstall script done."