From 61aabe3f4133cb781a49b880bd7c5de3ab9de8c4 Mon Sep 17 00:00:00 2001 From: Gaetan Boismal <gaetan.boismal@forgerock.com> Date: Wed, 11 Mar 2015 12:30:41 +0000 Subject: [PATCH] OPENDJ-1772: Add copyright header to debian script files --- opendj-server-legacy/resource/debian/control/preinst | 26 +++++++++++++ opendj-server-legacy/resource/debian/control/postinst | 26 +++++++++++++ opendj-server-legacy/resource/debian/control/prerm | 26 +++++++++++++ opendj-server-legacy/resource/debian/control/postrm | 26 +++++++++++++ 4 files changed, 104 insertions(+), 0 deletions(-) diff --git a/opendj-server-legacy/resource/debian/control/postinst b/opendj-server-legacy/resource/debian/control/postinst index 47d401e..4d39ecd 100644 --- a/opendj-server-legacy/resource/debian/control/postinst +++ b/opendj-server-legacy/resource/debian/control/postinst @@ -1,4 +1,30 @@ #!/bin/bash +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opendj3/legal-notices/CDDLv1_0.txt +# or http://forgerock.org/license/CDDLv1.0.html. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opendj3/legal-notices/CDDLv1_0.txt. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright 2013-2015 ForgeRock AS +# + set -e # Post install script # Install is launched with an empty second arg. diff --git a/opendj-server-legacy/resource/debian/control/postrm b/opendj-server-legacy/resource/debian/control/postrm index f8163fb..e713873 100644 --- a/opendj-server-legacy/resource/debian/control/postrm +++ b/opendj-server-legacy/resource/debian/control/postrm @@ -1,4 +1,30 @@ #!/bin/bash +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opendj3/legal-notices/CDDLv1_0.txt +# or http://forgerock.org/license/CDDLv1.0.html. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opendj3/legal-notices/CDDLv1_0.txt. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright 2013-2015 ForgeRock AS +# + set -e # Post rm script # Files are removed automatically by pm. diff --git a/opendj-server-legacy/resource/debian/control/preinst b/opendj-server-legacy/resource/debian/control/preinst index 2b8a0d7..83c6d2d 100644 --- a/opendj-server-legacy/resource/debian/control/preinst +++ b/opendj-server-legacy/resource/debian/control/preinst @@ -1,4 +1,30 @@ #!/bin/bash +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opendj3/legal-notices/CDDLv1_0.txt +# or http://forgerock.org/license/CDDLv1.0.html. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opendj3/legal-notices/CDDLv1_0.txt. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright 2013-2015 ForgeRock AS +# + set -e # Pre installation script if [ "$1" = "upgrade" ] diff --git a/opendj-server-legacy/resource/debian/control/prerm b/opendj-server-legacy/resource/debian/control/prerm index 07fbd14..43dc86a 100644 --- a/opendj-server-legacy/resource/debian/control/prerm +++ b/opendj-server-legacy/resource/debian/control/prerm @@ -1,4 +1,30 @@ #!/bin/bash +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opendj3/legal-notices/CDDLv1_0.txt +# or http://forgerock.org/license/CDDLv1.0.html. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opendj3/legal-notices/CDDLv1_0.txt. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright 2013-2015 ForgeRock AS +# + set -e # Pre rm script # Stops the service. -- Gitblit v1.10.0