#!/bin/bash # # $Id$ # # stop osgi-runner before installing or upgrading # test -x /etc/init.d/osgi-runner && /etc/init.d/osgi-runner status > /dev/null && /etc/init.d/osgi-runner stop if test -d /var/cache/osgi-runner/felix-cache then echo "Cleaning /var/cache/osgi-runner/felix-cache upon removal of osgi-runner." /bin/rm -rf /var/cache/osgi-runner/felix-cache fi exit 0