adopted for yum update which calls at the end the uninstall script.
This commit is contained in:
parent
a7806f7e02
commit
d48615650e
@ -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."
|
|
||||||
|
|
||||||
|
@ -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."
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user