1
0
mirror of https://github.com/jordansissel/fpm synced 2024-12-22 00:34:15 +01:00
fpm/templates/deb/ldconfig.sh.erb
2013-04-09 04:55:48 +00:00

14 lines
381 B
Plaintext

#!/bin/sh
# This script is automatically added by fpm when you specify
# conditions that usually require running ldconfig upon
# package installation and removal.
#
# For example, if you set '--deb-shlibs' in creating your package,
# fpm will use this script if you don't provide your own --after-install or
# --after-remove
set -e
case $1 in
configure|remove) ldconfig ;;
esac