https://github.com/Paradigm4/shim
Raw File
Tip revision: 8a427c024e8dd988640bc942dc94af9f3b7092c5 authored by Rares Vernica on 05 August 2018, 17:12:28 UTC
Install libarrow-dev
Tip revision: 8a427c0
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