aboutsummaryrefslogtreecommitdiff
path: root/system/postgresql/postgresql.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2010-04-08 20:09:13 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-15 10:25:28 +0200
commite921af5412f1ad773bcbba21688d25b850990be8 (patch)
tree38b1b3097f995333e6e37fb660a2986e4e12839a /system/postgresql/postgresql.SlackBuild
parent737477bfb58c3a96a832ceb523700ab409babd8c (diff)
system/postgresql: set perms on init script.
Use mode 0755 by default on rc.postgresql, but if the script already exists on the system when the package is installed or upgraded, the existing permissions will be kept. Thanks to Don Allen for the problem report. For full context, see: http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-April/005405.html
Diffstat (limited to 'system/postgresql/postgresql.SlackBuild')
-rw-r--r--system/postgresql/postgresql.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild
index bffcc461259f..86802b471bfb 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -121,6 +121,7 @@ chmod 700 $PKG/var/lib/pgsql/data
# Install init script
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.postgresql.new > $PKG/etc/rc.d/rc.postgresql.new
+chmod 0755 $PKG/etc/rc.d/rc.postgresql.new
# Install logrotate script
mkdir -p $PKG/etc/logrotate.d