https://github.com/Paradigm4/shim
Raw File
Tip revision: 192e574e85f99da226e8a5eecc48c68d1af5e2f7 authored by SciDB User on 20 April 2019, 15:43:31 UTC
more typos
Tip revision: 192e574
before-remove.sh
#!/bin/bash
# shim
# package pre-uninstallation script
# This script is run by the package management system before package
# is uninstalled.

if test -f /etc/init.d/shimsvc; then
  /etc/init.d/shimsvc stop
fi
if test -n "$(which update-rc.d 2>/dev/null)"; then
# Ubuntu
  update-rc.d -f shimsvc remove
elif test -n "$(which chkconfig)"; then
# RHEL
  chkconfig --del shimsvc
fi
back to top