diff options
author | Robby Workman <rworkman@slackware.com> | 2010-04-08 20:09:13 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:25:28 +0200 |
commit | e921af5412f1ad773bcbba21688d25b850990be8 (patch) | |
tree | 38b1b3097f995333e6e37fb660a2986e4e12839a /system/postgresql/postgresql.SlackBuild | |
parent | 737477bfb58c3a96a832ceb523700ab409babd8c (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.SlackBuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild index bffcc461259ff..86802b471bfb5 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 |