diff --git a/VERSION b/VERSION index 1ace5eae1dc75016c1c79f33ef866dee54f09a9e..3433761ccab322f6f99125ee687c11f85e0c8eb3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION=00.01 +VERSION=00.02 diff --git a/mjf-torque.init b/mjf-torque.init index dc123f0caf519a0e4cea900a5450ff7381d082db..a3a4e905db03d05dd93ef29147e46d24fd55bca3 100755 --- a/mjf-torque.init +++ b/mjf-torque.init @@ -33,7 +33,8 @@ start() { # Create files echo -n $"Set up /etc/machinefeatures: " - + + rm -Rf /etc/machinefeatures mkdir -p /etc/machinefeatures if [ "$total_cpu" == "" ] ; then diff --git a/mjf-torque.spec b/mjf-torque.spec index 24fda810807aaeb5c128c7b65d787069b92f75b5..f27eed20e0929db42c43babc0bef5f768c3b016c 100644 --- a/mjf-torque.spec +++ b/mjf-torque.spec @@ -26,8 +26,11 @@ chkconfig mjf-torque on service mjf-torque start %preun -chkconfig mjf-torque off -service mjf-torque stop +if [ "$1" = "0" ] ; then + # if uninstallation rather than upgrade then stop + chkconfig mjf-torque off + service mjf-torque stop +fi %files /var/lib/torque/mom_priv