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 | |
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')
-rw-r--r-- | system/postgresql/postgresql.SlackBuild | 1 | ||||
-rw-r--r-- | system/postgresql/postgresql.info | 2 |
2 files changed, 2 insertions, 1 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 diff --git a/system/postgresql/postgresql.info b/system/postgresql/postgresql.info index 09693ca0170a..172906d3dfcd 100644 --- a/system/postgresql/postgresql.info +++ b/system/postgresql/postgresql.info @@ -2,8 +2,8 @@ PRGNAM="postgresql" VERSION="8.4.2" HOMEPAGE="http://www.postgresql.org" DOWNLOAD="ftp://ftp.postgresql.org/pub/source/v8.4.2/postgresql-8.4.2.tar.bz2" -DOWNLOAD_x86_64="" MD5SUM="d738227e2f1f742d2f2d4ab56496c5c6" +DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Adis Nezirovic" EMAIL="adis_at_linux.org.ba" |