File: puppet-module-puppetlabs-mount-core.postinst

package info (click to toggle)
puppet-module-puppetlabs-mount-core 1.0.4%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 392 kB
  • sloc: ruby: 2,130; sh: 16; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 269 bytes parent folder | download
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/mount_core puppet-module-mount-core /usr/share/puppet/modules.available/puppetlabs-mount-core 500
fi

#DEBHELPER#

exit 0