postinst is in swift-container 1.13.1-0ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/swift-container" ]; then
if [ ! -e "/etc/init/swift-container.conf" ]; then
update-rc.d swift-container defaults >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f swift-container remove >/dev/null || exit $?
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/swift-container-replicator" ]; then
if [ ! -e "/etc/init/swift-container-replicator.conf" ]; then
update-rc.d swift-container-replicator defaults >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f swift-container-replicator remove >/dev/null || exit $?
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/swift-container-auditor" ]; then
if [ ! -e "/etc/init/swift-container-auditor.conf" ]; then
update-rc.d swift-container-auditor defaults >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f swift-container-auditor remove >/dev/null || exit $?
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/swift-container-updater" ]; then
if [ ! -e "/etc/init/swift-container-updater.conf" ]; then
update-rc.d swift-container-updater defaults >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f swift-container-updater remove >/dev/null || exit $?
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/swift-container-sync" ]; then
if [ ! -e "/etc/init/swift-container-sync.conf" ]; then
update-rc.d swift-container-sync defaults >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f swift-container-sync remove >/dev/null || exit $?
# End automatically added section
|