From 3e879ef32a1695c2456958aeeccb7792c54d5c18 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 16 Oct 2015 15:56:14 +0200 Subject: [PATCH] initscripts: do not track 'service' scripts in git Those are already installed from postgressql-setup.tar. Version: 9.4.5-2 --- initdb.sh | 16 ---------------- upgrade.sh | 16 ---------------- 2 files changed, 32 deletions(-) delete mode 100755 initdb.sh delete mode 100755 upgrade.sh diff --git a/initdb.sh b/initdb.sh deleted file mode 100755 index c238574..0000000 --- a/initdb.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# -# Legacy action script for "service postgresql initdb" - -# Find the name of the service -SERVICE_NAME=$(basename $(dirname "$0")) -if [ x"$SERVICE_NAME" = x. ] -then - SERVICE_NAME=postgresql -fi - -echo Hint: the preferred way to do this is now '"postgresql-setup initdb"' >&2 - -/usr/bin/postgresql-setup initdb "$SERVICE_NAME" - -exit $? diff --git a/upgrade.sh b/upgrade.sh deleted file mode 100755 index c542494..0000000 --- a/upgrade.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# -# Legacy action script for "service postgresql upgrade" - -# Find the name of the service -SERVICE_NAME=$(basename $(dirname "$0")) -if [ x"$SERVICE_NAME" = x. ] -then - SERVICE_NAME=postgresql -fi - -echo Hint: the preferred way to do this is now '"postgresql-setup upgrade"' >&2 - -/usr/bin/postgresql-setup upgrade "$SERVICE_NAME" - -exit $?