initscripts: do not track 'service' scripts in git
Those are already installed from postgressql-setup.tar. Version: 9.4.5-2
This commit is contained in:
parent
8a02c71231
commit
3e879ef32a
16
initdb.sh
16
initdb.sh
@ -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 $?
|
|
16
upgrade.sh
16
upgrade.sh
@ -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 $?
|
|
Loading…
Reference in New Issue
Block a user