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 $?