https://github.com/Paradigm4/shim
Raw File
Tip revision: 8f2753601a0fca879a4231b2c8b0c8c785aa89c3 authored by Rares Vernica on 26 December 2018, 11:33:11 UTC
Rename limit to result_size_limit
Tip revision: 8f27536
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