aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql12-server
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-09-14 04:10:22 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-09-14 04:10:22 +0000
commitd06aa00bb41c25880dd99fef34b5c97704af4a33 (patch)
tree3e6933a9889864e88a4894c7b4507e3aac89dbb0 /databases/postgresql12-server
parent21dc3fef5f9680f44ba18f60b1993cf80e00ee46 (diff)
downloadports-d06aa00bb41c25880dd99fef34b5c97704af4a33.tar.gz
ports-d06aa00bb41c25880dd99fef34b5c97704af4a33.zip
databases/postgresql*-server: fix minor style bugs in maintenance script
Convert to ASCII and trim EOL whitespace. The scripts are now identical across all PostgreSQL server versions we have in the ports. Verified by: cksum(1)
Diffstat (limited to 'databases/postgresql12-server')
-rw-r--r--databases/postgresql12-server/files/502.pgsql.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql12-server/files/502.pgsql.in b/databases/postgresql12-server/files/502.pgsql.in
index c2d5b885d2f1..604ad3dadab8 100644
--- a/databases/postgresql12-server/files/502.pgsql.in
+++ b/databases/postgresql12-server/files/502.pgsql.in
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Maintenance shell script to vacuum and backup database
-# Put this in /usr/local/etc/periodic/daily, and it will be run
+# Put this in /usr/local/etc/periodic/daily, and it will be run
# every night
#
# Written by Palle Girgensohn <girgen@pingpong.net>
@@ -34,7 +34,7 @@ fi
: ${daily_pgsql_backupdir:="~${daily_pgsql_user}/backups"}
: ${daily_pgsql_savedays:="7"}
-# allow '~´ in dir name
+# allow '~' in directory name
eval backupdir=${daily_pgsql_backupdir}
rc=0
@@ -43,7 +43,7 @@ pgsql_backup() {
# daily_pgsql_backupdir must be writeable by user %%PG_USER%%
# ~%%PG_USER%% is just that under normal circumstances,
# but this might not be where you want the backups...
- if [ ! -d ${backupdir} ] ; then
+ if [ ! -d ${backupdir} ] ; then
echo Creating ${backupdir}
mkdir -m 700 ${backupdir}; chown ${daily_pgsql_user} ${backupdir}
fi