File: puppet-module-voxpupuli-alternatives.postinst

package info (click to toggle)
puppet-module-voxpupuli-alternatives 3.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 264 kB
  • sloc: ruby: 547; sh: 16; makefile: 8
file content (12 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "${1}" = "configure" ] ; then
	mkdir -p /usr/share/puppet/modules
	update-alternatives --install /usr/share/puppet/modules/alternatives puppet-module-alternatives /usr/share/puppet/modules.available/voxpupuli-alternatives 500
fi

#DEBHELPER#

exit 0